Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
(cherry picked from commitfb9712f639) (cherry picked from commitdc0d95a23d)
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include <isc/types.h>
|
||||
|
||||
#if defined(ISC_PLATFORM_HAVESTDATOMIC)
|
||||
#include <stdint.h>
|
||||
#include <stdatomic.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <config.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <isc/atomic.h>
|
||||
#include <isc/magic.h>
|
||||
|
||||
Reference in New Issue
Block a user