aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-10-05 20:49:44 +0000
committerJörg Mayer <jmayer@loplof.de>2013-10-05 20:49:44 +0000
commiteb1ee413e3ff2328e8ef41b4d14ab1ef98fa81d9 (patch)
treefb6737cb98e882b48a02a6606f18bbbedce79054 /wsutil
parent8b4c5a53e0fa79480262c298bc11440665c53684 (diff)
editcap and capinfos compile now with cmake
svn path=/trunk/; revision=52382
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/CMakeLists.txt13
-rw-r--r--wsutil/strncasecmp.c1
2 files changed, 7 insertions, 7 deletions
diff --git a/wsutil/CMakeLists.txt b/wsutil/CMakeLists.txt
index d798ac8c73..00ce91a9b8 100644
--- a/wsutil/CMakeLists.txt
+++ b/wsutil/CMakeLists.txt
@@ -24,17 +24,17 @@
IF(WIN32)
set(WSUTIL_PLATFORM_FILES
file_util.c
+ inet_aton.c
+ inet_ntop.c
+ inet_pton.c
+ strncasecmp.c
+ strptime.c
unicode-utils.c
+ wsgetopt.c
)
ENDIF(WIN32)
set(WSUTIL_FILES
-# @GETOPT_LO@ # wsgetopt.c
-# @INET_ATON_LO@ # inet_aton.c
-# @INET_NTOP_LO@ # inet_ntop.c
-# @INET_PTON_LO@ # inet_pton.c
-# @STRNCASECMP_LO@ # strncasecmp.c
-# @STRPTIME_LO@ # strptime.c
aes.c
airpdcap_wep.c
crash_info.c
@@ -71,6 +71,7 @@ set(wsutil_LIBS
${GMODULE2_LIBRARIES}
${GLIB2_LIBRARIES}
${GCRYPT_LIBRARIES}
+ ${WIN_WSOCK32_LIBRARY}
)
set(CLEAN_FILES
diff --git a/wsutil/strncasecmp.c b/wsutil/strncasecmp.c
index 88adc48ac5..56f3b15496 100644
--- a/wsutil/strncasecmp.c
+++ b/wsutil/strncasecmp.c
@@ -16,7 +16,6 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 51 Franklin Street,
Fifth Floor, Boston, MA 02110-1301 USA. */
-#include <ansidecl.h>
#include <string.h>
#include <ctype.h>