projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c45cd0
)
updates.
author
Pekka Riikonen
<priikone@silcnet.org>
Thu, 28 Apr 2005 12:59:46 +0000
(12:59 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Thu, 28 Apr 2005 12:59:46 +0000
(12:59 +0000)
includes/silcincludes.h.in
patch
|
blob
|
history
diff --git
a/includes/silcincludes.h.in
b/includes/silcincludes.h.in
index 97ed81c7d4d863b64334d765735fa7aa4ed1b039..de9a23d2374e08b822f630992ece0b93557d566e 100644
(file)
--- a/
includes/silcincludes.h.in
+++ b/
includes/silcincludes.h.in
@@
-143,8
+143,10
@@
extern "C" {
#include <grp.h>
#include <sys/times.h>
-#if
def HAVE_GETOPT_H
+#if
defined(HAVE_GETOPT_H) && defined(HAVE_GETOPT)
#include <getopt.h>
+#else
+#include "getopt.h"
#endif
#ifdef SOCKS5
@@
-224,10
+226,6
@@
extern "C" {
#endif /* !SILC_WIN32 */
-#ifndef HAVE_GETOPT_LONG
-#include "getopt.h"
-#endif
-
/* Include generic SILC type definitions */
#include "silctypes.h"
#include "silcversion.h"