Skip to content

Commit

Permalink
Fix bswap on NetBSD (#1612)
Browse files Browse the repository at this point in the history
The #includes were incorrect.

Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Jan 22, 2024
1 parent d0cae91 commit ae1dde6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/OpenEXRTest/bswap_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# include <sys/types.h>
# define bswap_32(x) swap32 (x)
#elif defined(__NetBSD__)
# include <sys/bswap.h>
# include <sys/types.h>
# include <machine/bswap.h>
# define bswap_32(x) bswap32 (x)
#else
# include <byteswap.h>
Expand Down

0 comments on commit ae1dde6

Please sign in to comment.