diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-29 00:33:35 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-29 00:33:35 +0000 |
commit | 55c39bae67cb3b26dacb78a9d45fcd900745c3d8 (patch) | |
tree | 4849a631a35997b9b7fd6f4223b7e72e1e8afbef /src/jtag | |
parent | 18b5a88a8a6ea6cf93864d27a65b4d229a6f6fb6 (diff) |
Add missing header files to fix C99 compatibility.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1559 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag')
-rw-r--r-- | src/jtag/jtag.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 91d08638..c1e2648b 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -35,9 +35,12 @@ #include "command.h" #include "log.h" -#include "stdlib.h" -#include "string.h" +#include <stdlib.h> +#include <string.h> #include <unistd.h> +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif /* note that this is not marked as static as it must be available from outside jtag.c for those that implement the jtag_xxx() minidriver layer |