Skip to content

Commit

Permalink
Don't include byteswap.h and FreeBSD and OpenBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
jszakmeister committed Feb 17, 2015
1 parent 07ddfa1 commit 4ef5894
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/msgpack/sysdep.h
Expand Up @@ -76,7 +76,8 @@ typedef unsigned int _msgpack_atomic_counter_t;
#else

#include <arpa/inet.h> /* __BYTE_ORDER */
# if !defined(__APPLE__) && !(defined(__sun) && defined(__SVR4))
# if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && \
!(defined(__sun) && defined(__SVR4))
# include <byteswap.h>
# endif

Expand Down

0 comments on commit 4ef5894

Please sign in to comment.