<sys/bswap.h> cannot be included alone on NetBSD. From KAMADA Ken'ichi.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22774 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -243,12 +243,18 @@ AC_FOREACH([rk_func], [asprintf vasprintf asnprintf vasnprintf],
|
||||
rk_func)])
|
||||
|
||||
AC_FIND_FUNC_NO_LIBS(bswap16,,
|
||||
[#ifdef HAVE_SYS_BSWAP_H
|
||||
[#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_BSWAP_H
|
||||
#include <sys/bswap.h>
|
||||
#endif],0)
|
||||
|
||||
AC_FIND_FUNC_NO_LIBS(bswap32,,
|
||||
[#ifdef HAVE_SYS_BSWAP_H
|
||||
[#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_BSWAP_H
|
||||
#include <sys/bswap.h>
|
||||
#endif],0)
|
||||
|
||||
|
Reference in New Issue
Block a user