BSD uses some different includes, these are from FreeBSD ports
This commit is contained in:
parent
d958a13114
commit
e460c6f448
|
@ -25,7 +25,12 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
//#include <memory.h>
|
//#include <memory.h>
|
||||||
|
#if defined(BSD)
|
||||||
|
#include <stdlib.h>
|
||||||
|
#else
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
//#include <unistd.h>
|
//#include <unistd.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
|
|
@ -19,7 +19,11 @@
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#if defined(BSD)
|
||||||
|
#include <limits.h>
|
||||||
|
#else
|
||||||
#include <values.h>
|
#include <values.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "zm.h"
|
#include "zm.h"
|
||||||
#include "zm_db.h"
|
#include "zm_db.h"
|
||||||
|
|
Loading…
Reference in New Issue