diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-25 08:52:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-25 08:52:38 +0000 |
commit | dfcfb9b91ebc5772b39aff76e40a1ade47b4b604 (patch) | |
tree | 0ab1e1086d7411d83ea8c03fc1dd7f49e0ced97c | |
parent | 098a3d0595429d2fa2dd76ad8b75e9e22213c50c (diff) | |
download | libextractor-dfcfb9b91ebc5772b39aff76e40a1ade47b4b604.tar.gz libextractor-dfcfb9b91ebc5772b39aff76e40a1ade47b4b604.zip |
-include string.h if present for strlen on freeBSD
-rw-r--r-- | src/main/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/getopt.c b/src/main/getopt.c index ca500d9..e383e0b 100644 --- a/src/main/getopt.c +++ b/src/main/getopt.c | |||
@@ -72,9 +72,9 @@ USA. */ | |||
72 | 72 | ||
73 | #ifdef VMS | 73 | #ifdef VMS |
74 | #include <unixlib.h> | 74 | #include <unixlib.h> |
75 | #if HAVE_STRING_H - 0 | ||
76 | #include <string.h> | ||
77 | #endif | 75 | #endif |
76 | #if HAVE_STRING_H | ||
77 | #include <string.h> | ||
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #if defined (WIN32) && !defined (__CYGWIN32__) | 80 | #if defined (WIN32) && !defined (__CYGWIN32__) |