diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-19 08:11:51 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-19 08:11:51 +0000 |
commit | b149107c9accc399a704e20facc29d39de0cd187 (patch) | |
tree | b8f24a2be248e5afeab4ddabbdc08fff7cafa3e7 /aesopt.h | |
parent | d433c9e7c161e045eb757fa8063c093d89686da2 (diff) |
OpenBSD portability enhancements (bug 1002)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2708 f38db490-d61c-443f-a65b-d21fe96a405b
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 ) |