aboutsummaryrefslogtreecommitdiff
path: root/net/wpa_gui
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2013-10-02 08:51:41 +0000
committerJohn Marino <marino@FreeBSD.org>2013-10-02 08:51:41 +0000
commitb4eff3cd3c82a47b342049eb51aab0283560b1e9 (patch)
tree615361488be5320a04b33818d7fbcf85afe75a6e /net/wpa_gui
parent7ce5cdd7a48fb923bf37b700a3d6a7750273804e (diff)
net/wpa_gui: add <unistd.h> for modern compilers
Actually, this header was conditionally included for ming32, so I only removed that condition so unistd.h is always included. Approved by: portmgr (bapt, implicit)
Notes
Notes: svn path=/head/; revision=329023
Diffstat (limited to 'net/wpa_gui')
-rw-r--r--net/wpa_gui/files/patch-wpagui.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/wpa_gui/files/patch-wpagui.cpp b/net/wpa_gui/files/patch-wpagui.cpp
new file mode 100644
index 000000000000..86a9666fce0d
--- /dev/null
+++ b/net/wpa_gui/files/patch-wpagui.cpp
@@ -0,0 +1,13 @@
+--- wpagui.cpp.orig 2010-09-07 15:43:39.000000000 +0000
++++ wpagui.cpp
+@@ -12,10 +12,7 @@
+ * See README and COPYING for more details.
+ */
+
+-#ifdef __MINGW32__
+-/* Need to get getopt() */
+ #include <unistd.h>
+-#endif
+
+ #ifdef CONFIG_NATIVE_WINDOWS
+ #include <windows.h>