Skip to content

Commit

Permalink
fix BSD and OSX builds
Browse files Browse the repository at this point in the history
Change-Id: I1b1442c65c4f9d1369289fc9474f62d948207344
  • Loading branch information
rdementi committed May 22, 2024
1 parent 694d038 commit efcdee7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#endif

#ifndef _MSC_VER
#include <unistd.h>
#include <csignal>
#include <ctime>
#include <cmath>
Expand All @@ -36,10 +37,6 @@
#include <map>
#include <unordered_map>

#ifdef __linux__
#include <unistd.h>
#endif

namespace pcm {
std::string safe_getenv(const char* env);
}
Expand Down

0 comments on commit efcdee7

Please sign in to comment.