summaryrefslogtreecommitdiff
path: root/fc-cache
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2006-04-25 05:57:41 +0000
committerPatrick Lam <plam@MIT.EDU>2006-04-25 05:57:41 +0000
commitf045376c0831f068e8fd8fd61773a5ed83dede7f (patch)
tree49042c5245d6005ffec38b54939bec1db4806865 /fc-cache
parent55e145b0250e5c233d9fed1f8f5efe690374cdf2 (diff)
downloadfontconfig-f045376c0831f068e8fd8fd61773a5ed83dede7f.tar.gz
Include $(top_srcdir), $(top_srcdir)/src before anything else.
Shuffle order of includes for building out of srcdir on win32. reviewed by: plam
Diffstat (limited to 'fc-cache')
-rw-r--r--fc-cache/fc-cache.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
index ce6b567..5e4ada4 100644
--- a/fc-cache/fc-cache.c
+++ b/fc-cache/fc-cache.c
@@ -22,13 +22,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-#include <fontconfig/fontconfig.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#else
@@ -38,6 +31,14 @@
#define HAVE_GETOPT 1
#endif
+#include <fontconfig/fontconfig.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <errno.h>
+
#if defined (_WIN32)
#define STRICT
#include <windows.h>