[or-cvs] r10063: Check for more HAVE_* header defines when building eventdns. (in tor/trunk: . src/or)
nickm at seul.org
nickm at seul.org
Mon Apr 30 14:52:08 UTC 2007
Author: nickm
Date: 2007-04-30 10:52:07 -0400 (Mon, 30 Apr 2007)
New Revision: 10063
Modified:
tor/trunk/
tor/trunk/src/or/eventdns.c
Log:
r12571 at catbus: nickm | 2007-04-30 10:51:52 -0400
Check for more HAVE_* header defines when building eventdns.c
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r12571] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/eventdns.c
===================================================================
--- tor/trunk/src/or/eventdns.c 2007-04-30 14:52:05 UTC (rev 10062)
+++ tor/trunk/src/or/eventdns.c 2007-04-30 14:52:07 UTC (rev 10063)
@@ -69,8 +69,12 @@
#define _FORTIFY_SOURCE 3
#include <string.h>
+#ifdef HAVE_FCNTL_H
#include <fcntl.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
@@ -78,8 +82,12 @@
#include <string.h>
#include <errno.h>
#include <assert.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+#ifdef HAVE_LIMITS_H
#include <limits.h>
+#endif
#include <sys/stat.h>
#include <ctype.h>
#include <stdio.h>
More information about the tor-commits
mailing list