projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't compile getopt*.c if the system provides getopt_long().
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
ed0cee9
..
db18dc5
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-49,7
+49,12
@@
#include <time.h>
#endif
#include <time.h>
#endif
+#ifdef HAVE_GETOPT_LONG
#include <getopt.h>
#include <getopt.h>
+#else
+#include "getopt.h"
+#endif
+
#include "pidfile.h"
#include "conf.h"
#include "pidfile.h"
#include "conf.h"