[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10063: Check for more HAVE_* header defines when building eventdns. (in tor/trunk: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r10063: Check for more HAVE_* header defines when building eventdns. (in tor/trunk: . src/or)
- From: nickm@xxxxxxxx
- Date: Mon, 30 Apr 2007 10:52:08 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 30 Apr 2007 10:52:17 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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@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>