mirror of https://github.com/moparisthebest/curl
include <sys/types.h> when checking availability of the bool type
This commit is contained in:
parent
4937281ddc
commit
2a6a22a3b0
|
@ -376,6 +376,9 @@ AC_CHECK_TYPE([bool],[
|
||||||
AC_DEFINE(HAVE_BOOL_T, 1,
|
AC_DEFINE(HAVE_BOOL_T, 1,
|
||||||
[Define to 1 if bool is an available type.])
|
[Define to 1 if bool is an available type.])
|
||||||
], ,[
|
], ,[
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_STDBOOL_H
|
#ifdef HAVE_STDBOOL_H
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1729,6 +1729,9 @@ AC_CHECK_TYPE([bool],[
|
||||||
AC_DEFINE(HAVE_BOOL_T, 1,
|
AC_DEFINE(HAVE_BOOL_T, 1,
|
||||||
[Define to 1 if bool is an available type.])
|
[Define to 1 if bool is an available type.])
|
||||||
], ,[
|
], ,[
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_STDBOOL_H
|
#ifdef HAVE_STDBOOL_H
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue