diff options
author | Nick Mathewson <nickm@torproject.org> | 2002-09-10 13:32:27 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2002-09-10 13:32:27 +0000 |
commit | 6cb8a91d5cbb1217a43119cc0e98b14d2c565d37 (patch) | |
tree | c79066856cbe9658330ff1586eb8d9ec931df80c /src | |
parent | 958ec8d4fba8a077731baa956e45ea551e637e73 (diff) | |
download | tor-6cb8a91d5cbb1217a43119cc0e98b14d2c565d37.tar tor-6cb8a91d5cbb1217a43119cc0e98b14d2c565d37.tar.gz |
"You got BSD in my MacOS!" "You got MacOS in my BSD!" Anyway, MacOS works again.
svn:r102
Diffstat (limited to 'src')
-rw-r--r-- | src/httpap/httpap.c | 8 | ||||
-rw-r--r-- | src/or/or.h | 3 | ||||
-rw-r--r-- | src/smtpap/smtpap.c | 8 |
3 files changed, 19 insertions, 0 deletions
diff --git a/src/httpap/httpap.c b/src/httpap/httpap.c index 3e5700cb8..8aa515e62 100644 --- a/src/httpap/httpap.c +++ b/src/httpap/httpap.c @@ -8,6 +8,9 @@ /* * Changes : * $Log$ + * Revision 1.9 2002/09/10 13:32:27 nickm + * "You got BSD in my MacOS!" "You got MacOS in my BSD!" Anyway, MacOS works again. + * * Revision 1.8 2002/09/09 04:10:58 arma * port to actual BSD * @@ -53,6 +56,8 @@ * */ +#include "orconfig.h" +#undef VERSION #include <sys/types.h> #include <sys/socket.h> #include <sys/time.h> @@ -71,6 +76,9 @@ #include <string.h> #include <stdlib.h> #include <time.h> +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif #include "../common/log.h" #include "../common/config.h" diff --git a/src/or/or.h b/src/or/or.h index 6b473b7d6..cdec91bb1 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -16,6 +16,9 @@ #include <signal.h> #include <netdb.h> #include <ctype.h> +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif #ifdef HAVE_SYS_POLL_H #include <sys/poll.h> #elif HAVE_POLL_H diff --git a/src/smtpap/smtpap.c b/src/smtpap/smtpap.c index 7efabccf2..2bb8e5acb 100644 --- a/src/smtpap/smtpap.c +++ b/src/smtpap/smtpap.c @@ -8,6 +8,9 @@ /* * Changes : * $Log$ + * Revision 1.6 2002/09/10 13:32:27 nickm + * "You got BSD in my MacOS!" "You got MacOS in my BSD!" Anyway, MacOS works again. + * * Revision 1.5 2002/09/09 04:10:58 arma * port to actual BSD * @@ -122,6 +125,8 @@ * */ +#include "orconfig.h" +#undef VERSION #include <sys/types.h> #include <sys/socket.h> #include <sys/time.h> @@ -140,6 +145,9 @@ #include <string.h> #include <stdlib.h> #include <time.h> +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif #include "../common/log.h" #include "../common/config.h" |