Skip to content

Commit

Permalink
Update porting.h to fix build errors on macOS 14 / Xcode 15
Browse files Browse the repository at this point in the history
  • Loading branch information
superfloh247 committed Dec 16, 2023
1 parent 128ed87 commit 16c2247
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/porting.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef _WIN32 // POSIX
#include <sys/time.h>
#include <ctime>
#if defined(__MACH__) && defined(__APPLE__)
#include <TargetConditionals.h>
#endif
#endif

namespace porting
Expand Down

0 comments on commit 16c2247

Please sign in to comment.