aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2023-10-28 20:45:53 +0300
committerSergey Poznyakoff <gray@gnu.org>2023-10-28 20:45:53 +0300
commitcbc8efea07ccf2733dfe50e6009bfeac9410abfc (patch)
tree79af6843fe6a0ee5c6a754d95dc87db5848d2d6c
parent6c4db308cf121aa97076dd51fd5db1dfe859eebc (diff)
downloadgrecs-master.tar.gz
grecs-master.tar.bz2
Include config.h into test programsHEADmaster
-rw-r--r--tests/distck.c4
-rw-r--r--tests/failpp.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/distck.c b/tests/distck.c
index ee066f5..d6cebdb 100644
--- a/tests/distck.c
+++ b/tests/distck.c
@@ -1,4 +1,6 @@
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include "grecs.h"
int
diff --git a/tests/failpp.c b/tests/failpp.c
index 819e8ee..fbf8195 100644
--- a/tests/failpp.c
+++ b/tests/failpp.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <stdio.h>
#include <ctype.h>

Return to:

Send suggestions and report system problems to the System administrator.