From 67c02404b74167b1a0ccf2db50c4e5a2dda52401 Mon Sep 17 00:00:00 2001 From: stal Date: Thu, 31 Jul 2014 10:38:04 -0700 Subject: [PATCH 1/2] alut is not part of OpenAL.framework on OS X therefore the linux include path works fine --- src/notify.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/notify.c b/src/notify.c index 612da36..b571c8b 100644 --- a/src/notify.c +++ b/src/notify.c @@ -37,9 +37,6 @@ #ifdef __APPLE__ #include #include - #ifdef _SOUND_NOTIFY - #include /* Is this good? */ - #endif #else #include #include @@ -47,9 +44,9 @@ #ifndef ALC_ALL_DEVICES_SPECIFIER #include #endif - #ifdef _SOUND_NOTIFY - #include /* freealut packet */ - #endif + #endif + #ifdef _SOUND_NOTIFY + #include /* freealut packet */ #endif #endif /* _AUDIO */ From 7e5b41c8e0dbb5f77906c53b0c5f2e7640c0a741 Mon Sep 17 00:00:00 2001 From: stal Date: Thu, 31 Jul 2014 10:52:36 -0700 Subject: [PATCH 2/2] another apple include: for NAME_MAX --- src/autocomplete.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/autocomplete.c b/src/autocomplete.c index 42cf115..8ef5fcd 100644 --- a/src/autocomplete.c +++ b/src/autocomplete.c @@ -26,6 +26,7 @@ #ifdef __APPLE__ #include #include + #include #else #include #endif /* ifdef __APPLE__ */