mirror of
https://repo.or.cz/socat.git
synced 2025-07-10 22:13:00 +00:00
environ variable from C runtime is not declared on all systems
This commit is contained in:
parent
f749f5c3e4
commit
f0abfc19fd
4 changed files with 36 additions and 0 deletions
4
compat.h
4
compat.h
|
@ -5,6 +5,10 @@
|
|||
#ifndef __compat_h_included
|
||||
#define __compat_h_included 1
|
||||
|
||||
#if !HAVE_DECL_ENVIRON && HAVE_VAR_ENVIRON
|
||||
extern char **environ;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
/* I dont like this system dependent part, but it would be quite a challenge
|
||||
for configure */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue