64-bit fix, config.h needed to be at the top of the source file. master
authorRyan Huffman <ryanhuffman@gmail.com>
Tue, 15 Dec 2009 00:14:11 +0000 (16:14 -0800)
committerRyan Huffman <ryanhuffman@gmail.com>
Tue, 15 Dec 2009 00:14:11 +0000 (16:14 -0800)
src/tuio.c

index 8d6558a..de068d5 100644 (file)
  *     Ryan Huffman (ryanhuffman@gmail.com)
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <unistd.h>
 
 #include <xf86Xinput.h>
 
 #include "tuio.h"
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 /* InputInfoPtr for main tuio device */
 static InputInfoPtr g_pInfo;
 static int pipefd[2] = {-1, -1};