aboutsummaryrefslogtreecommitdiffstats
path: root/capinfos.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-10-06 16:01:18 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-10-06 16:01:18 +0000
commit98024a007f590ed79ce43b89bcf7287ea240b989 (patch)
tree0dc184c467bbca781c4d7a049ab14a67b4e5cfea /capinfos.c
parentc88f493d4d1d07933339ffe17d33a0ccfcc8cc32 (diff)
Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision. svn path=/trunk/; revision=30370
Diffstat (limited to 'capinfos.c')
-rw-r--r--capinfos.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/capinfos.c b/capinfos.c
index 972ff13cc7..e562236ac5 100644
--- a/capinfos.c
+++ b/capinfos.c
@@ -51,8 +51,10 @@
#include "wtap.h"
#include <wsutil/privileges.h>
-#ifdef NEED_GETOPT_H
-#include "getopt.h"
+#ifdef HAVE_GETOPT_H
+#include <getopt.h>
+#else
+#include "wsgetopt.h"
#endif
static gboolean cap_file_type = FALSE; /* Do not report capture type */