aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-17 21:21:51 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-17 21:21:51 -0500
commit22057035f812a717be2a90e9b63ae7df2952089d (patch)
tree306d053c2f5cba918d815bb01bbd346fe6bbb1f3 /localdecls.h
parentlibsandbox: update ENAMETOOLONG comments to match egetcwd() changes (diff)
downloadsandbox-22057035f812a717be2a90e9b63ae7df2952089d.tar.gz
sandbox-22057035f812a717be2a90e9b63ae7df2952089d.tar.bz2
sandbox-22057035f812a717be2a90e9b63ae7df2952089d.zip
fix environ check
AC_CHECK_DECL will always create the relevant define and only differ in the actual value (0 or 1). URL: http://bugs.gentoo.org/258365 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reported-by: Javier Villavicencio <the_paya@gentoo.org>
Diffstat (limited to 'localdecls.h')
-rw-r--r--localdecls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/localdecls.h b/localdecls.h
index 854ca6d..c8bfd27 100644
--- a/localdecls.h
+++ b/localdecls.h
@@ -51,7 +51,7 @@
# define MAP_ANONYMOUS MAP_ANON
#endif
-#ifndef HAVE_DECL_ENVIRON
+#if !HAVE_DECL_ENVIRON
extern char **environ;
#endif