--- localsys.h.orig 2018-05-21 22:43:28 UTC +++ localsys.h @@ -16,14 +16,14 @@ #ifndef LOCALSYS_H #define LOCALSYS_H -#include "config.h" - #include #include #include #include #include +#include "config.h" + #ifdef HAVE_UNISTD_H #include #endif @@ -293,8 +293,10 @@ extern int sysinfo(); #include #endif +#ifndef __FreeBSD__ /* FBSD has a malloc.h that tells people to obey C89. */ #ifdef HAVE_MALLOC_H #include +#endif #endif #ifdef HAVE_SYSLOG_H