1
0
Fork 0
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:
Gerhard Rieger 2015-01-18 17:43:13 +01:00
parent f749f5c3e4
commit f0abfc19fd
4 changed files with 36 additions and 0 deletions

View file

@ -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 */