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>
This commit is contained in:
Spencer Oliver
2012-05-17 12:27:30 +01:00
parent a34b38d621
commit 7bfcc10839
24 changed files with 1 additions and 40 deletions

View File

@@ -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;