attempt to build under OpenBSD.

This commit is contained in:
Romuald Conty 2010-04-07 14:06:04 +00:00
parent 5dc0575a8b
commit e68904d48a
2 changed files with 7 additions and 1 deletions

View file

@ -31,12 +31,15 @@
#include "config.h"
#if defined(HAVE_SYS_TYPES_H)
# include <sys/types.h>
#endif
#if defined(HAVE_SYS_ENDIAN_H)
# include <sys/endian.h>
#endif
#if defined(HAVE_ENDIAN_H)
# define _BSD_SOURCE
# include <endian.h>
#endif
#include <errno.h>