diff options
author | James Golovich <james@gnuinter.net> | 2004-04-19 08:11:51 +0000 |
---|---|---|
committer | James Golovich <james@gnuinter.net> | 2004-04-19 08:11:51 +0000 |
commit | 98533cbccc4795c42949b6228024a16f2eb14a76 (patch) | |
tree | b8f24a2be248e5afeab4ddabbdc08fff7cafa3e7 /aesopt.h | |
parent | 36a13f931a0d396a267374d144bcbec990e32b35 (diff) |
OpenBSD portability enhancements (bug 1002)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'aesopt.h')
-rwxr-xr-x | aesopt.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 ) |