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

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