From 4e36dd570ba039a5d9af7b181eb5a4b8f6f921de Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Wed, 10 Aug 2016 07:35:20 -0700 Subject: [PATCH] unix/mpconfigport.h: Don't include stdio.h on MacOS. Fixes build errors such as "../lib/utils/printf.c:43:5: error: expected parameter declarator" --- unix/mpconfigport.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index c449e7316f..86b6001d5b 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -305,5 +305,7 @@ void mp_unix_mark_exec(void); #define _DIRENT_HAVE_D_INO (1) #endif +#ifndef __APPLE__ // For debugging purposes, make printf() available to any source file. #include +#endif