summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-03-17 10:22:26 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-03-17 10:22:26 +0000
commitc13924e32cf58e51aa6b86f785c7961daf3da01e (patch)
treef7ee97ebb848c3275e97729ced8a95102de16165 /src/helper
parentae62743a4c1d28914a4c7f68c1e9b4f6394f94d7 (diff)
downloadopenocd+libswd-c13924e32cf58e51aa6b86f785c7961daf3da01e.tar.gz
openocd+libswd-c13924e32cf58e51aa6b86f785c7961daf3da01e.tar.bz2
openocd+libswd-c13924e32cf58e51aa6b86f785c7961daf3da01e.tar.xz
openocd+libswd-c13924e32cf58e51aa6b86f785c7961daf3da01e.zip
- remove build warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1415 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/log.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helper/log.c b/src/helper/log.c
index b42bd9eb..8eea1ac0 100644
--- a/src/helper/log.c
+++ b/src/helper/log.c
@@ -27,6 +27,8 @@
#include "config.h"
#endif
+#include "replacements.h"
+
#include "log.h"
#include "configuration.h"
#include "time_support.h"
@@ -36,6 +38,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <stdarg.h>
#define PRINT_MEM() 0