We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74de689 commit 9c35c0dCopy full SHA for 9c35c0d
1 file changed
configure.ac
@@ -160,6 +160,9 @@ fi
160
#ifdef HAVE_STDLIB_H
161
#include <stdlib.h>
162
#endif
163
+#ifdef HAVE_UNISTD_H
164
+ #include <unistd.h>
165
+#endif
166
#ifdef HAVE_CTYPE_H
167
#include <ctype.h>
168
@@ -10469,6 +10472,12 @@ then
10469
10472
AM_CFLAGS="$AM_CFLAGS -DHAVE___UINT128_T=1"
10470
10473
fi
10471
10474
10475
+# Add HAVE_GETPID to AM_CFLAGS for inclusion in options.h
10476
+if test "$ac_cv_func_getpid" = "yes"
10477
+then
10478
+ AM_CFLAGS="$AM_CFLAGS -DHAVE_GETPID=1"
10479
+fi
10480
+
10481
LIB_SOCKET_NSL
10482
AX_HARDEN_CC_COMPILER_FLAGS
10483
0 commit comments