Skip to content

Commit

Permalink
Merge pull request #25 from fweimer/patch-1
Browse files Browse the repository at this point in the history
AC_QEF_C_NORETURN: Include <stdlib.h> for exit
  • Loading branch information
vgropp authored Sep 6, 2019
2 parents 059e028 + 21ef575 commit b81da65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ AC_DEFUN([AC_QEF_C_NORETURN],
AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts noreturn attribute)
AC_CACHE_VAL(qef_cv_c_noreturn,
[qef_cv_c_noreturn=no
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
void f (void) __attribute__ ((noreturn));
void f (void)
{
Expand Down

0 comments on commit b81da65

Please sign in to comment.