summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-28 11:51:55 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-28 11:51:55 -0500
commite808d96d99dc3f8f4f83a0d2d8d6528a28d66fef (patch)
tree4a257cb057995f7d30e7241c199f7cb7c497e1f3
parent6d04db1a1a6f921fc9a15e473a7f0aafa28a9e97 (diff)
downloadkvpnc-e808d96d99dc3f8f4f83a0d2d8d6528a28d66fef.tar.gz
kvpnc-e808d96d99dc3f8f4f83a0d2d8d6528a28d66fef.zip
GCC 4.7 fixes.
-rw-r--r--src/generateopenvpnkeydialog.cpp1
-rw-r--r--src/networkinterface.cpp1
-rw-r--r--src/toolinfo.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/generateopenvpnkeydialog.cpp b/src/generateopenvpnkeydialog.cpp
index 8fdc1ae..2763563 100644
--- a/src/generateopenvpnkeydialog.cpp
+++ b/src/generateopenvpnkeydialog.cpp
@@ -29,6 +29,7 @@
#include <tqstring.h>
#include <iostream>
+#include <unistd.h>
//
GenerateOpenvpnKeyDialog::GenerateOpenvpnKeyDialog(KVpncConfig *GlobalConfig,TQWidget *parent, const TQString& caption)
: KDialogBase( parent, "Import_Cisco_PCF_profile", true, caption,
diff --git a/src/networkinterface.cpp b/src/networkinterface.cpp
index 94f8127..3d9a186 100644
--- a/src/networkinterface.cpp
+++ b/src/networkinterface.cpp
@@ -33,6 +33,7 @@
#include <linux/sockios.h>
#include <linux/if.h>
#include <sys/ioctl.h>
+#include <unistd.h>
//END INCLUDES
NetworkInterface::NetworkInterface( KVpncConfig* GlobalConfig,TQApplication *app, TQObject *parent, const char *name ) : TQObject( parent, name )
diff --git a/src/toolinfo.cpp b/src/toolinfo.cpp
index 06765d5..a84ae2c 100644
--- a/src/toolinfo.cpp
+++ b/src/toolinfo.cpp
@@ -22,6 +22,7 @@
#include <tqfile.h>
#include <iostream>
#include <cstdlib>
+#include <unistd.h>
#include <klocale.h>
#include <kstandarddirs.h>
#include <kmessagebox.h>