aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/exechelp.c')
-rw-r--r--common/exechelp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/exechelp.c b/common/exechelp.c
index 19fb04ffa..b4700c5cd 100644
--- a/common/exechelp.c
+++ b/common/exechelp.c
@@ -29,6 +29,12 @@
#include <signal.h>
#include <unistd.h>
#include <fcntl.h>
+
+#ifdef WITHOUT_GNU_PTH /* Give the Makefile a chance to build without Pth. */
+#undef HAVE_PTH
+#undef USE_GNU_PTH
+#endif
+
#ifdef USE_GNU_PTH
#include <pth.h>
#endif