diff --git a/src/xpdev/CMakeLists.txt b/src/xpdev/CMakeLists.txt index 30eaf591e39b908d99954e07e50da25002490c61..48377d00a72db3dce14048e71828e242d3fffa83 100644 --- a/src/xpdev/CMakeLists.txt +++ b/src/xpdev/CMakeLists.txt @@ -57,6 +57,10 @@ CHECK_INCLUDE_FILES(inttypes.h HAS_INTTYPES_H) if(HAS_INTTYPES_H) target_compile_definitions(xpdev PUBLIC HAS_INTTYPES_H) endif() +CHECK_INCLUDE_FILES(stdint.h HAS_STDINT_H) +if(HAS_STDINT_H) + target_compile_definitions(xpdev PUBLIC HAS_STDINT_H) +endif() target_compile_definitions(xpdev PUBLIC LINK_LIST_THREADSAFE) CHECK_INCLUDE_FILES(sys/soundcard.h HAS_SYS_SOUNDCARD_H)