diff --git a/src/or/eventdns.c b/src/or/eventdns.c index 517db58853..6d504bd576 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -69,8 +69,12 @@ #define _FORTIFY_SOURCE 3 #include +#ifdef HAVE_FCNTL_H #include +#endif +#ifdef HAVE_SYS_TIME_H #include +#endif #ifdef HAVE_STDINT_H #include #endif @@ -78,8 +82,12 @@ #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif +#ifdef HAVE_LIMITS_H #include +#endif #include #include #include