Fixed missing typedefs on BSD

This commit is contained in:
Snaipe 2015-09-22 23:30:53 +02:00
parent 40dbcc3408
commit 2c76e45479

View file

@ -43,6 +43,10 @@
# include <sys/param.h>
# ifdef BSD
# include <sys/types.h>
typedef unsigned long u_long;
typedef unsigned int u_int;
typedef unsigned short u_short;
typedef unsigned char u_char;
# include <sys/sysctl.h>
# endif
# endif