diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-07-18 17:12:22 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-07-18 17:12:22 +1000 |
commit | eac1bbd06872c273f16ac0f9976b0aef026b701b (patch) | |
tree | c9d1488076f5e3074e9577cbb5cb7eff272f0c95 /regress | |
parent | 0a454147568746c503f669e1ba861f76a2e7a585 (diff) |
Conditionally include err.h.
Diffstat (limited to 'regress')
-rwxr-xr-x | regress/modpipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/regress/modpipe.c b/regress/modpipe.c index c43e9cba1..5f4824b51 100755 --- a/regress/modpipe.c +++ b/regress/modpipe.c | |||
@@ -25,6 +25,9 @@ | |||
25 | #include <stdarg.h> | 25 | #include <stdarg.h> |
26 | #include <stdlib.h> | 26 | #include <stdlib.h> |
27 | #include <errno.h> | 27 | #include <errno.h> |
28 | #ifdef HAVE_ERR_H | ||
29 | # include <err.h> | ||
30 | #endif | ||
28 | #include "openbsd-compat/getopt_long.c" | 31 | #include "openbsd-compat/getopt_long.c" |
29 | 32 | ||
30 | static void | 33 | static void |