aboutsummaryrefslogtreecommitdiffstats
path: root/aesopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'aesopt.h')
-rwxr-xr-xaesopt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/aesopt.h b/aesopt.h
index 799c8a694..936ccd4ca 100755
--- a/aesopt.h
+++ b/aesopt.h
@@ -148,7 +148,10 @@
/* PLATFORM SPECIFIC INCLUDES */
-#if defined( __FreeBSD__ ) || defined( __OpenBSD__ )
+#if defined( __OpenBSD__ )
+# include <machine/types.h>
+# include <sys/endian.h>
+#elif defined( __FreeBSD__ )
# include <sys/types.h>
# include <sys/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 )