Skip to content

Commit 2d02fe4

Browse files
committed
ax__sync.m4: Include atomic.h for Solaris 10 test.
1 parent ae14185 commit 2d02fe4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9695,6 +9695,7 @@ else
96959695
/* end confdefs.h. */
96969696

96979697
#include <stdlib.h>
9698+
#include <atomic.h>
96989699

96999700
int
97009701
main ()

m4/ax__sync.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ AC_CACHE_CHECK([for atomic_dec_uint_nv], [ac_cv_atomic_dec_uint_nv],
188188
[AC_LANG_PROGRAM(
189189
[[
190190
#include <stdlib.h>
191+
#include <atomic.h>
191192
]],
192193
[[
193194
volatile unsigned int x = 2;

0 commit comments

Comments
 (0)