summaryrefslogtreecommitdiff
path: root/fc-cat
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-cat
parent55e145b0250e5c233d9fed1f8f5efe690374cdf2 (diff)
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-cat')
-rw-r--r--fc-cat/fc-cat.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c
index 09b20f66..cf363232 100644
--- a/fc-cat/fc-cat.c
+++ b/fc-cat/fc-cat.c
@@ -22,14 +22,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-#include <fontconfig/fontconfig.h>
-#include <../src/fccache.c>
-#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
@@ -39,6 +31,15 @@
#define HAVE_GETOPT 1
#endif
+#include <fontconfig/fontconfig.h>
+#include <../src/fccache.c>
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <errno.h>
+
#ifndef HAVE_GETOPT
#define HAVE_GETOPT 0
#endif