summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-22 07:37:40 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-22 07:37:40 +0000
commit6eeab625cd9e3467c75b382b23d161bb321aaa72 (patch)
tree182401914df2a89951565531f3ea368c1203f6df /src/helper
parent9b1ddfc1ebd38f57f29431f44f45b3af8b489d87 (diff)
downloadopenocd+libswd-6eeab625cd9e3467c75b382b23d161bb321aaa72.tar.gz
openocd+libswd-6eeab625cd9e3467c75b382b23d161bb321aaa72.tar.bz2
openocd+libswd-6eeab625cd9e3467c75b382b23d161bb321aaa72.tar.xz
openocd+libswd-6eeab625cd9e3467c75b382b23d161bb321aaa72.zip
fix warnings when building for eCos
git-svn-id: svn://svn.berlios.de/openocd/trunk@1085 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/replacements.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/replacements.h b/src/helper/replacements.h
index 9e3fdf8a..33e85501 100644
--- a/src/helper/replacements.h
+++ b/src/helper/replacements.h
@@ -88,6 +88,8 @@ struct timezone {
/* gettimeofday() */
#ifndef HAVE_GETTIMEOFDAY
+struct timeval;
+struct timezone;
extern int gettimeofday(struct timeval *tv, struct timezone *tz);
#endif