Browse Source

Bugfix: Include headers in order needed for Mingw build

Luke Dashjr 13 years ago
parent
commit
6a71825b06
3 changed files with 7 additions and 0 deletions
  1. 3 0
      driver-x6500.c
  2. 2 0
      ft232r.c
  3. 2 0
      jtag.c

+ 3 - 0
driver-x6500.c

@@ -7,10 +7,13 @@
  * any later version.  See COPYING for more details.
  * any later version.  See COPYING for more details.
  */
  */
 
 
+#include "config.h"
+
 #include <sys/time.h>
 #include <sys/time.h>
 
 
 #include <libusb-1.0/libusb.h>
 #include <libusb-1.0/libusb.h>
 
 
+#include "compat.h"
 #include "dynclock.h"
 #include "dynclock.h"
 #include "jtag.h"
 #include "jtag.h"
 #include "logging.h"
 #include "logging.h"

+ 2 - 0
ft232r.c

@@ -7,6 +7,8 @@
  * any later version.  See COPYING for more details.
  * any later version.  See COPYING for more details.
  */
  */
 
 
+#include "config.h"
+
 #include <errno.h>
 #include <errno.h>
 #include <stdbool.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <stdint.h>

+ 2 - 0
jtag.c

@@ -9,6 +9,8 @@
 
 
 // NOTE: This code is based on code Luke-Jr wrote originally for LPC1343CodeBase
 // NOTE: This code is based on code Luke-Jr wrote originally for LPC1343CodeBase
 
 
+#include "config.h"
+
 #include <stdbool.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <stdlib.h>