summaryrefslogtreecommitdiff
path: root/tools/if_not_there.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-06-16 13:35:53 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-06-16 13:35:53 +0400
commit9637d2e8137d316754e3c3a49e8f232d667de25b (patch)
tree34a17925247d6bc8a7b01c50d92e6ce129154d91 /tools/if_not_there.c
parenta7fdbdb9c409b6bf4ee3195c55fb514cf788b3c6 (diff)
downloadbdwgc-9637d2e8137d316754e3c3a49e8f232d667de25b.tar.gz
tools: Include proper header file for configuration macros
* tools/if_mach.c: Include private/gc_priv.h instead of private/gcconfig.h (to get proper configuration macros defined). * tools/if_not_there.c: Likewise. * tools/threadlibs.c: Likewise. * tools/threadlibs.c: Do not include gc_config_macros.h directly.
Diffstat (limited to 'tools/if_not_there.c')
-rw-r--r--tools/if_not_there.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/if_not_there.c b/tools/if_not_there.c
index cae4880d..c0f095d0 100644
--- a/tools/if_not_there.c
+++ b/tools/if_not_there.c
@@ -1,6 +1,7 @@
/* Conditionally execute a command based if the file argv[1] doesn't exist */
/* Except for execvp, we stick to ANSI C. */
-# include "private/gcconfig.h"
+
+# include "private/gc_priv.h"
# include <stdio.h>
# include <stdlib.h>
# include <unistd.h>