From: Mukund Sivaraman Date: Fri, 22 Sep 2017 09:43:44 +0000 (+0530) Subject: Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere) X-Git-Tag: v9.12.0b1~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb9712f6395295e1671987d038835530f5a58b0d;p=thirdparty%2Fbind9.git Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere) --- diff --git a/lib/isc/include/isc/rwlock.h b/lib/isc/include/isc/rwlock.h index 49de0750538..3cc29046ee6 100644 --- a/lib/isc/include/isc/rwlock.h +++ b/lib/isc/include/isc/rwlock.h @@ -19,6 +19,7 @@ #include #if defined(ISC_PLATFORM_HAVESTDATOMIC) +#include #include #endif diff --git a/lib/isc/rwlock.c b/lib/isc/rwlock.c index ef1a7616f81..030f3757437 100644 --- a/lib/isc/rwlock.c +++ b/lib/isc/rwlock.c @@ -13,7 +13,6 @@ #include #include -#include #include #include