diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c index 727af645b..764930c0e 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -58,8 +58,12 @@ #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 + I include both. */ #include <machine/limits.h> #endif +#endif #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */ #endif |