diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2013-07-16 20:15:02 +0000 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2013-07-16 20:15:02 +0000 |
commit | b8cc7b5239f9ba546cacf797783c119277eb8d4f (patch) | |
tree | c5e540eb0abd7478ee3c8201177626ed7f0a9986 /wsutil/wsgetopt.h | |
parent | 7de40656b526bf0d7399607dd46d79f54e4424f9 (diff) | |
download | wireshark-b8cc7b5239f9ba546cacf797783c119277eb8d4f.tar.gz |
make getopt_long() available on systems that don't have it natively
svn path=/trunk/; revision=50677
Diffstat (limited to 'wsutil/wsgetopt.h')
-rw-r--r-- | wsutil/wsgetopt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/wsgetopt.h b/wsutil/wsgetopt.h index 09756afb7f..8c52f4be19 100644 --- a/wsutil/wsgetopt.h +++ b/wsutil/wsgetopt.h @@ -175,9 +175,9 @@ WS_DLL_PUBLIC int getopt (int ___argc, char *const *___argv, #endif /* __GNU_LIBRARY__ */ #ifndef __need_getopt -extern int getopt_long (int ___argc, char *const *___argv, +WS_DLL_PUBLIC int getopt_long (int ___argc, char *const *___argv, const char *__shortopts, - const struct option *__longopts, int *__longind) + const struct option *__longopts, int *__longind) __THROW; extern int getopt_long_only (int ___argc, char *const *___argv, const char *__shortopts, |