exit() is in stdlib.h
[ginac.git] / acinclude.m4
index 12350184e76403c573c38cd4fb136e4185f5bee5..0433f778edf2ceebb234780cabda5c0c12b7e0cf 100644 (file)
@@ -14,6 +14,7 @@ AC_DEFUN(GINAC_LIB_READLINE_VERSION,
 [AC_CACHE_CHECK([for version of libreadline], ginac_cv_rlversion, [
 AC_TRY_RUN([
 #include <stdio.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <readline/readline.h>