aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/wsgetopt.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-10-17 00:02:08 -0700
committerGuy Harris <guy@alum.mit.edu>2014-10-17 07:02:37 +0000
commit441698863d41dea718b69928d3ea8b2d5a3736ac (patch)
tree6a52534728f590ed798dcf87d87251c06fc1ac85 /wsutil/wsgetopt.h
parent87545f39da530ec1cd6c630f819e3f3d7e6bb945 (diff)
Eliminate include of <ctype.h>.
This is not built if we have glibc (as we already have getopt() from it), and it's not part of glibc, so.... Change-Id: Iae4ff944c78fc55a8cd2eaf523a3696c47b741d7 Reviewed-on: https://code.wireshark.org/review/4769 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/wsgetopt.h')
-rw-r--r--wsutil/wsgetopt.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/wsutil/wsgetopt.h b/wsutil/wsgetopt.h
index b497914dec..b2a981693b 100644
--- a/wsutil/wsgetopt.h
+++ b/wsutil/wsgetopt.h
@@ -27,17 +27,6 @@
#include "ws_symbol_export.h"
-/* If __GNU_LIBRARY__ is not already defined, either we are being used
- standalone, or this is the first header included in the source file.
- If we are being used with glibc, we need to include <features.h>, but
- that does not exist if we are standalone. So: if __GNU_LIBRARY__ is
- not defined, include <ctype.h>, which will pull in <features.h> for us
- if it's from glibc. (Why ctype.h? It's guaranteed to exist and it
- doesn't flood the namespace with stuff the way some other headers do.) */
-#if !defined __GNU_LIBRARY__
-# include <ctype.h>
-#endif
-
#ifndef __THROW
# ifndef __GNUC_PREREQ
# define __GNUC_PREREQ(maj, min) (0)