diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 11044cfa..1dc0d1c7 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,5 +1,7 @@ 2007-12-18 Kolja Waschk #else -#include #include #endif +#ifdef HAVE_STROPTS_H +#include +#endif #include #include diff --git a/jtag/src/tap/parport/ftdi.c b/jtag/src/tap/parport/ftdi.c index 2766f40f..386f263c 100644 --- a/jtag/src/tap/parport/ftdi.c +++ b/jtag/src/tap/parport/ftdi.c @@ -29,7 +29,9 @@ #ifdef HAVE_LIBFTDI #include +#ifdef HAVE_STROPTS_H #include +#endif #include #include diff --git a/jtag/src/tap/parport/ppdev.c b/jtag/src/tap/parport/ppdev.c index 88d16def..6df2dfef 100644 --- a/jtag/src/tap/parport/ppdev.c +++ b/jtag/src/tap/parport/ppdev.c @@ -28,7 +28,9 @@ #ifdef HAVE_LINUX_PPDEV_H #include +#ifdef HAVE_STROPTS_H #include +#endif #include #include #include diff --git a/jtag/src/tap/parport/xpcu_common.c b/jtag/src/tap/parport/xpcu_common.c index 27edc424..f410257f 100644 --- a/jtag/src/tap/parport/xpcu_common.c +++ b/jtag/src/tap/parport/xpcu_common.c @@ -32,7 +32,9 @@ #include #include #include +#ifdef HAVE_STROPTS_H #include +#endif #include #include #include diff --git a/jtag/src/tap/parport/xpcu_pp.c b/jtag/src/tap/parport/xpcu_pp.c index 44383c22..9513cc50 100644 --- a/jtag/src/tap/parport/xpcu_pp.c +++ b/jtag/src/tap/parport/xpcu_pp.c @@ -32,7 +32,9 @@ #include #include #include +#ifdef HAVE_STROPTS_H #include +#endif #include #include #include