FreeBSD compatibility fix.

This commit is contained in:
Johns
2012-07-09 17:17:16 +02:00
parent 2cdce610d6
commit 15583a79c4
2 changed files with 23 additions and 0 deletions

View File

@@ -39,7 +39,11 @@
#include <stdio.h>
#include <unistd.h>
#ifdef __FreeBSD__
#include <sys/endian.h>
#else
#include <endian.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>