aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-13 07:38:54 -0400
committerMike Frysinger <vapier@gentoo.org>2009-04-13 07:38:54 -0400
commita7af965a7e626cc6fffc530d8bde4f838d9d9c16 (patch)
tree647739f459801be3adc65fc10f14dad98a1db400 /headers.h
parentbump to sandbox-2.0 (diff)
downloadsandbox-a7af965a7e626cc6fffc530d8bde4f838d9d9c16.tar.gz
sandbox-a7af965a7e626cc6fffc530d8bde4f838d9d9c16.tar.bz2
sandbox-a7af965a7e626cc6fffc530d8bde4f838d9d9c16.zip
clean up configure script a bit and log active env
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'headers.h')
-rw-r--r--headers.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/headers.h b/headers.h
index 7b9efb9..ab9c17d 100644
--- a/headers.h
+++ b/headers.h
@@ -7,7 +7,9 @@
#ifndef __SB_HEADERS_H__
#define __SB_HEADERS_H__
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#ifdef HAVE_DIRENT_H
# include <dirent.h>
@@ -131,6 +133,8 @@
#undef FU_ia64_fpreg
#undef FU_pt_all_user_regs
-#include "localdecls.h"
+#ifdef HAVE_CONFIG_H
+# include "localdecls.h"
+#endif
#endif