Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)

(cherry picked from commit fb9712f639)
This commit is contained in:
Mukund Sivaraman
2017-09-22 15:15:34 +05:30
parent 7f8ccd62f2
commit dc0d95a23d
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -19,6 +19,7 @@
#include <isc/types.h>
#if defined(ISC_PLATFORM_HAVESTDATOMIC)
#include <stdint.h>
#include <stdatomic.h>
#endif
-1
View File
@@ -13,7 +13,6 @@
#include <config.h>
#include <stddef.h>
#include <stdint.h>
#include <isc/atomic.h>
#include <isc/magic.h>