1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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)
This commit is contained in:
John Marino 2013-10-02 08:51:41 +00:00
parent 7ce5cdd7a4
commit b4eff3cd3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329023

View File

@ -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>