mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Use #if in bitops.h.
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
#if defined(HAVE_BYTESWAP_H)
|
||||
#if HAVE_BYTESWAP_H
|
||||
# include <byteswap.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_ENDIAN_H)
|
||||
#if HAVE_ENDIAN_H
|
||||
# include <endian.h>
|
||||
#elif defined(HAVE_SYS_ENDIAN_H) /* BSDs have them here */
|
||||
#elif HAVE_SYS_ENDIAN_H /* BSDs have them here */
|
||||
# include <sys/endian.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -98,6 +98,7 @@ required_headers = [
|
||||
'locale.h',
|
||||
'malloc.h',
|
||||
'stdint.h',
|
||||
'sys/endian.h',
|
||||
'sys/ioctl.h',
|
||||
'sys/mman.h',
|
||||
'sys/statvfs.h',
|
||||
|
||||
Reference in New Issue
Block a user