diff --git a/CMakeLists.txt b/CMakeLists.txt index e05c322fb1b9487ac1f8dcfab6c3ce7e728d53f5..ee76ab89dc7d02f794515ccb73f9aeae4291d109 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,6 @@ set(CMAKE_BUILD_TYPE Release) enable_testing() check_include_files(malloc.h HAVE_MALLOC_H) -check_include_files(stdint.h HAVE_STDINT_H) test_big_endian(WORDS_BIGENDIAN) check_clzll(HAVE_DECL___BUILTIN_CLZLL) if(NOT HAVE_DECL___BUILTIN_CLZLL) diff --git a/cmake/config.h.in b/cmake/config.h.in index d5783e081b2639762aae53ae12828e94abd1cc24..e87bb50c39d5cb6e98e4e356965e006eaaedad0b 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -1,5 +1,4 @@ #cmakedefine HAVE_MALLOC_H 1 -#cmakedefine HAVE_STDINT_H 1 #cmakedefine WORDS_BIGENDIAN 1 #cmakedefine HAVE_DECL___BUILTIN_CLZLL 1 #cmakedefine HAVE_BSR64 1 diff --git a/src/decode.h b/src/decode.h index 78cdbcbcc0a993bafb0fc270cfae07c1378f7ce8..d747080770af3e5e75f7833d1f579dee3ff9872d 100644 --- a/src/decode.h +++ b/src/decode.h @@ -53,9 +53,7 @@ #include -#if HAVE_STDINT_H -# include -#endif +#include #define M_CONTINUE 1 #define M_EXIT 0 diff --git a/src/encode.h b/src/encode.h index 9622c44da85e496e89cc72df9ccd9e65fa2d0532..8653ab3526e084f4db466e7d8cf87f7af4cfa13a 100644 --- a/src/encode.h +++ b/src/encode.h @@ -53,9 +53,7 @@ #include -#if HAVE_STDINT_H -# include -#endif +#include #define M_CONTINUE 1 #define M_EXIT 0 diff --git a/src/encode_accessors.c b/src/encode_accessors.c index a3ef9b9e2c49d0fe2e09ebac044ea5bb6948e567..7b0595a2d2bb84ed666021afc67179929fe60951 100644 --- a/src/encode_accessors.c +++ b/src/encode_accessors.c @@ -49,10 +49,7 @@ #include -#if HAVE_STDINT_H -# include -#endif - +#include #include #include "libaec.h" #include "encode.h" diff --git a/src/encode_accessors.h b/src/encode_accessors.h index 55a6993771599dad509cc0722f258988b037311a..68180a6a1a1399b61c7bf97dbd7176b99bb0da64 100644 --- a/src/encode_accessors.h +++ b/src/encode_accessors.h @@ -52,9 +52,7 @@ #include "config.h" -#if HAVE_STDINT_H -# include -#endif +#include uint32_t aec_get_8(struct aec_stream *strm); uint32_t aec_get_lsb_16(struct aec_stream *strm);