try to fix issue#1, compilation problem on openbsd

This commit is contained in:
git@daemon.de
2014-01-13 11:04:32 +01:00
parent a2ae9e1762
commit 131ad9f959

View File

@@ -29,6 +29,7 @@
# include <endian.h> # include <endian.h>
#else // no endian.h #else // no endian.h
# ifdef HAVE_SYS_ENDIAN_H # ifdef HAVE_SYS_ENDIAN_H
# include <sys/types.h>
# include <sys/endian.h> # include <sys/endian.h>
# ifdef HAVE_BETOH32 # ifdef HAVE_BETOH32
# // openbsd, use aliases # // openbsd, use aliases