projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More for getopt support.
[oweals/tinc.git]
/
acconfig.h
diff --git
a/acconfig.h
b/acconfig.h
index 6c39c7d5a23e894869fef8aafbda575ec5fc4e33..e97c14b2605013c59bb2c4b3a6b9b181ea584d50 100644
(file)
--- a/
acconfig.h
+++ b/
acconfig.h
@@
-19,3
+19,10
@@
#if !defined(__USE_BSD)
# undef __USE_BSD
#endif
+
+/* For getopt */
+#if HAVE_STDLIB_H
+# define getopt system_getopt
+# include <stdlib.h>
+# undef getopt
+#endif