Add missing include to bsd-kvm.c for gdb_abspath
[deliverable/binutils-gdb.git] / include / environ.h
index c18902ba5b4fb19d97ccbf5f6eb2d746497c1808..9171d87ac30a3e33aed4f4f6d7b5176559d91dc8 100644 (file)
@@ -1,5 +1,5 @@
 /* Declare the environ system variable.
-   Copyright (C) 2015 Free Software Foundation, Inc.
+   Copyright (C) 2015-2019 Free Software Foundation, Inc.
 
 This file is part of the libiberty library.
 Libiberty is free software; you can redistribute it and/or
@@ -27,7 +27,9 @@ Boston, MA 02110-1301, USA.  */
 #     include <crt_externs.h>
 #     define environ (*_NSGetEnviron ())
 #  else
+#    ifndef environ
 extern char **environ;
+#    endif
 #  endif
 #  define HAVE_ENVIRON_DECL
 #endif
This page took 0.023233 seconds and 4 git commands to generate.