diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 03963a5..68a7c2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -291,6 +291,11 @@ if(HAVE_ENDIAN_H) | |||
291 | add_definitions(-DHAVE_ENDIAN_H) | 291 | add_definitions(-DHAVE_ENDIAN_H) |
292 | endif() | 292 | endif() |
293 | 293 | ||
294 | check_include_files(machine/endian.h HAVE_MACHINE_ENDIAN_H) | ||
295 | if(HAVE_MACHINE_ENDIAN_H) | ||
296 | add_definitions(-DHAVE_MACHINE_ENDIAN_H) | ||
297 | endif() | ||
298 | |||
294 | check_include_files(err.h HAVE_ERR_H) | 299 | check_include_files(err.h HAVE_ERR_H) |
295 | if(HAVE_ERR_H) | 300 | if(HAVE_ERR_H) |
296 | add_definitions(-DHAVE_ERR_H) | 301 | add_definitions(-DHAVE_ERR_H) |