diff options
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 9714a1d68..6c4c5eff7 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -40,13 +40,16 @@ #endif #include "../common/torint.h" #include "../common/fakepoll.h" +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> /* FreeBSD needs this to know what version it is */ +#endif #ifdef HAVE_SYS_LIMITS_H #include <sys/limits.h> #endif #ifdef HAVE_MACHINE_LIMITS_H #ifndef __FreeBSD__ /* FreeBSD has a bug where it complains that this file is obsolete, - and I should migrate to using sys/limits. It complaints even when + and I should migrate to using sys/limits. It complains even when I include both. */ #include <machine/limits.h> #endif |