aboutsummaryrefslogtreecommitdiffstats
path: root/aesopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'aesopt.h')
-rwxr-xr-xaesopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/aesopt.h b/aesopt.h
index 571b7c452..94e3e47f1 100755
--- a/aesopt.h
+++ b/aesopt.h
@@ -151,7 +151,7 @@
#if defined( __OpenBSD__ )
# include <machine/types.h>
# include <sys/endian.h>
-#elif defined( __FreeBSD__ )
+#elif defined( __FreeBSD__ ) || defined( __NetBSD__ )
# include <sys/types.h>
# include <sys/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 ) || defined(__APPLE__)