Skip to content

Commit

Permalink
i#2157 re-attach: fix the mac build broken by PR 2762 (#2771)
Browse files Browse the repository at this point in the history
Issue: #2157
  • Loading branch information
Carrotman42 authored Dec 15, 2017
1 parent 972cddf commit d7865bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/unix/ksynch_macos.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
*/

#include "../globals.h"
#include <errno.h>
/* avoid problems with use of errno as var name in rest of file */
#if !defined(STANDALONE_UNIT_TEST) && !defined(MACOS)
# undef errno
#endif

#include "ksynch.h"

#include <mach/mach.h>
Expand Down

0 comments on commit d7865bf

Please sign in to comment.