linamh/net-misc/nxcl/files/gcc-4.3.diff

32 lines
629 B
Diff
Raw Normal View History

--- nxcl/lib/notQt.cpp
+++ nxcl/lib/notQt.cpp
@@ -28,6 +28,7 @@ extern "C" {
#include <sys/poll.h>
#include <signal.h>
}
+#include <stdlib.h>
#include "../config.h"
#include "notQt.h"
--- nxcl/lib/nxclientlib.cpp
+++ nxcl/lib/nxclientlib.cpp
@@ -34,6 +34,8 @@ extern "C" {
#include <sys/stat.h>
#include <unistd.h>
}
+#include <stdlib.h>
+#include <string.h>
/*
* On the location of nxproxy and nxssh binaries
--- nxcl/nxcl/nxcl.cpp
+++ nxcl/nxcl/nxcl.cpp
@@ -30,6 +30,7 @@ extern "C" {
#include <dbus/dbus.h>
#include <X11/Xlib.h>
}
+#include <stdlib.h>
using namespace nxcl;
using namespace std;