Skip to content

Commit 8c54bd0

Browse files
committed
check for atexit needs stdlib.h on OSX, fixes configure sed error
1 parent 908744d commit 8c54bd0

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)