# HG changeset patch # User Mike Becker # Date 1640620952 -3600 # Node ID 9e6900b1cf9d5944ce19a306c0e6dd6545b58860 # Parent 929016224c3c4946cc9f514c53d043624a1f7616 add common.h include to all other header files diff -r 929016224c3c -r 9e6900b1cf9d src/cx/allocator.h --- a/src/cx/allocator.h Mon Dec 27 16:51:10 2021 +0100 +++ b/src/cx/allocator.h Mon Dec 27 17:02:32 2021 +0100 @@ -33,7 +33,7 @@ #ifndef UCX_ALLOCATOR_H #define UCX_ALLOCATOR_H -#include +#include "common.h" #ifdef __cplusplus extern "C" { diff -r 929016224c3c -r 9e6900b1cf9d src/cx/buffer.h --- a/src/cx/buffer.h Mon Dec 27 16:51:10 2021 +0100 +++ b/src/cx/buffer.h Mon Dec 27 17:02:32 2021 +0100 @@ -45,9 +45,9 @@ */ #ifndef UCX_BUFFER_H -#define UCX_BUFFER_H +#define UCX_BUFFER_H -#include +#include "common.h" #include #ifdef __cplusplus diff -r 929016224c3c -r 9e6900b1cf9d src/cx/common.h --- a/src/cx/common.h Mon Dec 27 16:51:10 2021 +0100 +++ b/src/cx/common.h Mon Dec 27 17:02:32 2021 +0100 @@ -49,6 +49,8 @@ /** Version constant which ensures to increase monotonically. */ #define UCX_VERSION (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR) +#include +#include #ifdef _WIN32 #if !(defined __ssize_t_defined || defined _SSIZE_T_) @@ -65,9 +67,7 @@ #endif #endif /* __WORDSIZE */ #else /* !_WIN32 */ - #include - #endif /* _WIN32 */ #endif /* UCX_COMMON_H */ diff -r 929016224c3c -r 9e6900b1cf9d src/cx/linked_list.h --- a/src/cx/linked_list.h Mon Dec 27 16:51:10 2021 +0100 +++ b/src/cx/linked_list.h Mon Dec 27 17:02:32 2021 +0100 @@ -38,7 +38,7 @@ #ifndef UCX_LINKED_LIST_H #define UCX_LINKED_LIST_H -#include +#include "common.h" #include "list.h" #ifdef __cplusplus diff -r 929016224c3c -r 9e6900b1cf9d src/cx/list.h --- a/src/cx/list.h Mon Dec 27 16:51:10 2021 +0100 +++ b/src/cx/list.h Mon Dec 27 17:02:32 2021 +0100 @@ -37,7 +37,7 @@ #ifndef UCX_LIST_H #define UCX_LIST_H -#include +#include "common.h" #include "allocator.h" #ifdef __cplusplus diff -r 929016224c3c -r 9e6900b1cf9d src/cx/tree.h --- a/src/cx/tree.h Mon Dec 27 16:51:10 2021 +0100 +++ b/src/cx/tree.h Mon Dec 27 17:02:32 2021 +0100 @@ -37,8 +37,7 @@ #ifndef UCX_TREE_H #define UCX_TREE_H -#include -#include +#include "common.h" #include "allocator.h" #ifdef __cplusplus