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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user