aboutsummaryrefslogtreecommitdiff
path: root/src/helper/replacements.h
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-05-17 12:27:30 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2012-05-21 16:15:26 +0000
commit7bfcc10839d2a9190cb7ae9fae02280e643b3450 (patch)
treeabc492151151ee445f06765ce20cfdea5bec9a4e /src/helper/replacements.h
parenta34b38d621d3598979aecd83a821258bf87a3591 (diff)
downloadriscv-openocd-7bfcc10839d2a9190cb7ae9fae02280e643b3450.zip
riscv-openocd-7bfcc10839d2a9190cb7ae9fae02280e643b3450.tar.gz
riscv-openocd-7bfcc10839d2a9190cb7ae9fae02280e643b3450.tar.bz2
build: add helper/types.h to config.h
this header is used in numerous files and adding to config.h simplifies its use globally. Change-Id: Id724a9950b90504721233022c7fb5768e9bc5548 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/649 Tested-by: jenkins Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Diffstat (limited to 'src/helper/replacements.h')
-rw-r--r--src/helper/replacements.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/helper/replacements.h b/src/helper/replacements.h
index bdd3ae7..7c2e44b 100644
--- a/src/helper/replacements.h
+++ b/src/helper/replacements.h
@@ -139,8 +139,6 @@ static inline unsigned usleep(unsigned int usecs)
#include <windows.h>
#include <time.h>
-#include <helper/types.h>
-
/* Windows does not declare sockaddr_un */
#define UNIX_PATH_LEN 108
struct sockaddr_un {
@@ -230,8 +228,6 @@ static inline int socket_select(int max_fd,
#ifndef HAVE_ELF_H
-#include <helper/types.h>
-
typedef uint32_t Elf32_Addr;
typedef uint16_t Elf32_Half;
typedef uint32_t Elf32_Off;