Only print an error with send_termreq if debug_lvl is 2 or more.
[tinc] / acconfig.h
index 6c39c7d..e97c14b 100644 (file)
 #if !defined(__USE_BSD)
 # undef __USE_BSD
 #endif
 #if !defined(__USE_BSD)
 # undef __USE_BSD
 #endif
+
+/* For getopt */
+#if HAVE_STDLIB_H
+# define getopt system_getopt
+# include <stdlib.h>
+# undef getopt
+#endif