Skip to content

Commit aa78439

Browse files
Merge pull request #5896 from cconlon/atexitOSX
AC_CHECK_DECLS for atexit needs stdlib.h on OSX
2 parents 668efea + 8c54bd0 commit aa78439

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ fi
133133
#ifdef HAVE_TIME_H
134134
#include <time.h>
135135
#endif
136+
#ifdef HAVE_STDLIB_H
137+
#include <stdlib.h>
138+
#endif
136139
]])
137140

138141
AC_PROG_INSTALL

0 commit comments

Comments
 (0)