next try to build under OpenBSD.
This commit is contained in:
parent
e68904d48a
commit
90fce89aee
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#if !defined(le32toh) && defined(letoh32)
|
||||||
|
# define le32toh(x) letoh32(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_BYTESWAP_H)
|
#if defined(HAVE_BYTESWAP_H)
|
||||||
#include <byteswap.h>
|
#include <byteswap.h>
|
||||||
#if !defined(le32toh) || !defined(htole32)
|
#if !defined(le32toh) || !defined(htole32)
|
||||||
|
|
Loading…
Add table
Reference in a new issue