Skip to content

Commit

Permalink
Fix building on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
evadot committed Oct 1, 2016
1 parent 89dac0f commit 043761b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/portable_endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
# define __LITTLE_ENDIAN LITTLE_ENDIAN
# define __PDP_ENDIAN PDP_ENDIAN

#elif defined(__OpenBSD__)
#elif defined(__OpenBSD__) || defined(__FreeBSD__)

# include <sys/endian.h>

#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
#elif defined(__NetBSD__) || defined(__DragonFly__)

# include <sys/endian.h>

Expand Down

0 comments on commit 043761b

Please sign in to comment.