Skip to content

Commit

Permalink
Fix headers
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Nov 1, 2023
1 parent 9d7eb95 commit 8b2a7d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@
#include <string>
#include <vector>

#ifdef _WIN32
#include <windows.h>
#endif

#ifndef _WIN32
extern char ** environ;
#endif

namespace gz
{
Expand Down Expand Up @@ -158,7 +164,7 @@ EnvironmentMap env()
ret[key] = value;

// Advance to the next environment variable.
env_var = equal_sign + 1;
ev_var = equal_sign + 1;
}
free(env_buf);
#else
Expand Down

0 comments on commit 8b2a7d4

Please sign in to comment.