blob: ce28186849c6ac9b50ab11d17ceb8f6eed47aa10 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
--- src/environment.h.orig Wed Dec 12 18:49:39 2001
+++ src/environment.h Fri Mar 21 19:15:34 2003
@@ -52,11 +52,13 @@
#if defined(HAVE_CRYPT_H)
#include <crypt.h>
#endif
+/*
#if defined(HAVE_GETOPT_H)
#include <getopt.h>
#elif !defined(HAVE_GETOPT)
#include "getopt.h"
#endif
+*/
#if defined(HAVE_ZLIB)
#include <zlib.h>
@@ -67,7 +69,7 @@
#include <thread.h>
#endif
#include <pthread.h>
-#if !defined(HAVE_PTHREAD_RWLOCK_INIT)
+#if !defined(HAVE_PTHREAD_RWLOCK_INIT) && !defined(FREEBSD)
#include "rwlock.h"
#endif
@@ -119,11 +121,11 @@
#include <sys/stat.h>
#endif
-#if defined(HAVE_SYS_INTTYPES_H)
+#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#endif
-#if !defined(HAVE_SYS_INTTYPES_H) && !defined(_STDINT_H)
+#if !defined(HAVE_INTTYPES_H) && !defined(_STDINT_H)
typedef unsigned int uintptr_t;
#endif
|