title: Compiling pulseaudio on Mac OS X with CoreServices.h
body: <p>I'm trying to compile pulseaudio on Mac OS X, however by default I get lots of errors about not finding standard files like <code>inttypes.h</code>, <code>errno.h</code> or <code>stdio.h</code>. Putting <code>-isystem/usr/include</code> in <code>CPPFLAGS</code> fixes those errors, but then later on I get <code>fatal error: 'CoreServices/CoreServices.h' file not found</code>.</p>
  
  <p>I've tried also adding <code>-framework CoreServices</code> and/or 
  <code>-I/System/Library/Frameworks/CoreServices.framework/Headers</code> but neither work.</p>
  
  <p>What's the proper way of making the compiler find it?
  I think I'm using clang, gcc produces even more errors.</p>