summaryrefslogtreecommitdiff
path: root/pc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-02-20 10:56:17 +0100
committerJim Meyering <meyering@redhat.com>2011-03-26 14:20:28 +0100
commitf266434caff7a4657c6bc8f54edd51f3f04de39a (patch)
treeee0dcb85aab8d4d0e92014bf44a3bc4657947bfd /pc
parent94e032f9416dbc56d412e06b2b8a3e342a21b91b (diff)
downloadpatch-f266434caff7a4657c6bc8f54edd51f3f04de39a.tar.gz
maint: arrange for the sc_require_config_h_first test to pass
* cfg.mk: New file, to configure maint.mk. * Makefile.am (EXTRA_DIST): Add, so the new file is distributed. (config_h_header): Define, to make the sc_require_config_h_first syntax-check test pass. * pc/chdirsaf.c: Include <config.h>.
Diffstat (limited to 'pc')
-rw-r--r--pc/chdirsaf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pc/chdirsaf.c b/pc/chdirsaf.c
index 0598f78..8ad0591 100644
--- a/pc/chdirsaf.c
+++ b/pc/chdirsaf.c
@@ -1,6 +1,7 @@
/* A safer version of chdir, which returns back to the
initial working directory when the program exits. */
+#include <config.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>