Fixed missing typedefs on BSD
This commit is contained in:
parent
40dbcc3408
commit
2c76e45479
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue