BSD uses some different includes, these are from FreeBSD ports

This commit is contained in:
Isaac Connor 2015-01-01 17:18:12 -05:00
parent d958a13114
commit e460c6f448
2 changed files with 9 additions and 0 deletions

View File

@ -25,7 +25,12 @@
#include <fcntl.h>
#include <stdarg.h>
//#include <memory.h>
#if defined(BSD)
#include <stdlib.h>
#else
#include <alloca.h>
#endif
#include <string.h>
//#include <unistd.h>
#include <sys/ioctl.h>

View File

@ -19,7 +19,11 @@
#include <getopt.h>
#include <signal.h>
#if defined(BSD)
#include <limits.h>
#else
#include <values.h>
#endif
#include "zm.h"
#include "zm_db.h"