Fix build on -current.

This commit is contained in:
Adam Weinberger 2014-08-15 18:45:40 +00:00
parent d1eadcfcab
commit dc3f5c64b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365019

View file

@ -0,0 +1,10 @@
--- libpbe/include/endian.hh.orig 2014-08-15 14:42:22.000000000 -0400
+++ libpbe/include/endian.hh 2014-08-15 14:42:47.000000000 -0400
@@ -29,6 +29,7 @@
#elif defined(__FreeBSD__)
#include <machine/endian.h>
+#include <sys/types.h>
#define PBE_BYTE_ORDER _BYTE_ORDER
#define PBE_BIG_ENDIAN _BIG_ENDIAN
#define PBE_LITTLE_ENDIAN _LITTLE_ENDIAN