automoc: include <unistd.h> on Apple to get pathconf

This commit is contained in:
Sean McBride 2012-03-27 19:36:33 -04:00 committed by David Cole
parent 3eb3d5f306
commit 8a704955e1
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@
#include <cmsys/Terminal.h>
#include <string.h>
#if defined(__APPLE__)
#include <unistd.h>
#endif
#include "cmQtAutomoc.h"