summaryrefslogtreecommitdiff
path: root/src/jtag/gw16012.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/gw16012.c')
-rw-r--r--src/jtag/gw16012.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/jtag/gw16012.c b/src/jtag/gw16012.c
index 720744a0..7845e778 100644
--- a/src/jtag/gw16012.c
+++ b/src/jtag/gw16012.c
@@ -21,10 +21,9 @@
#include "config.h"
#endif
-#include "replacements.h"
-
#include "jtag.h"
+
#if 1
#define _DEBUG_GW16012_IO_
#endif
@@ -40,14 +39,8 @@
#else
-#ifdef _WIN32
-#include "errno.h"
-#endif /* _WIN32 */
-
#endif /* __FreeBSD__, __FreeBSD_kernel__ */
-#include <string.h>
-#include <stdlib.h>
#if PARPORT_USE_PPDEV == 1
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
@@ -67,14 +60,10 @@
#endif
#endif
-#if PARPORT_USE_GIVEIO == 1
-#if IS_CYGWIN == 1
+#if PARPORT_USE_GIVEIO == 1 && IS_CYGWIN == 1
#include <windows.h>
-#include <errno.h>
-#endif
#endif
-#include "log.h"
/* configuration */
u16 gw16012_port;