OpenBSD portability enhancements (bug 1002)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich
2004-04-19 08:11:51 +00:00
parent 36a13f931a
commit 98533cbccc
7 changed files with 46 additions and 8 deletions

6
md5.c
View File

@@ -1,6 +1,10 @@
/* MD5 checksum routines used for authentication. Not covered by GPL, but
in the public domain as per the copyright below */
#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 )
# include <machine/endian.h>