--- a/src/server/public/nsapi.h Sat Oct 31 18:02:07 2015 +0100 +++ b/src/server/public/nsapi.h Sat Oct 31 20:10:21 2015 +0100 @@ -348,11 +348,13 @@ #ifdef XP_UNIX #include <unistd.h> #include <sys/file.h> -#include <alloca.h> /* new */ #include <pthread.h> #ifndef HPUX #include <sys/select.h> #endif +#ifndef BSD +#include <alloca.h> /* new */ +#endif #include <sys/socket.h> #include <sys/time.h> #include <sys/types.h>