fix common.h include problems - fixes #255

Sun, 16 Apr 2023 20:50:19 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 16 Apr 2023 20:50:19 +0200
changeset 681
502105523db7
parent 680
19379743e5a0
child 682
34120a385fc8

fix common.h include problems - fixes #255

src/cx/collection.h file | annotate | diff | comparison | revisions
src/cx/hash_key.h file | annotate | diff | comparison | revisions
src/cx/list.h file | annotate | diff | comparison | revisions
src/cx/map.h file | annotate | diff | comparison | revisions
src/cx/mempool.h file | annotate | diff | comparison | revisions
     1.1 --- a/src/cx/collection.h	Sun Apr 09 20:00:44 2023 +0200
     1.2 +++ b/src/cx/collection.h	Sun Apr 16 20:50:19 2023 +0200
     1.3 @@ -37,7 +37,6 @@
     1.4  #ifndef UCX_COLLECTION_H
     1.5  #define UCX_COLLECTION_H
     1.6  
     1.7 -#include "common.h"
     1.8  #include "allocator.h"
     1.9  #include "iterator.h"
    1.10  
     2.1 --- a/src/cx/hash_key.h	Sun Apr 09 20:00:44 2023 +0200
     2.2 +++ b/src/cx/hash_key.h	Sun Apr 16 20:50:19 2023 +0200
     2.3 @@ -38,7 +38,7 @@
     2.4  #ifndef UCX_HASH_KEY_H
     2.5  #define UCX_HASH_KEY_H
     2.6  
     2.7 -#include "stddef.h"
     2.8 +#include "common.h"
     2.9  
    2.10  #ifdef __cplusplus
    2.11  extern "C" {
     3.1 --- a/src/cx/list.h	Sun Apr 09 20:00:44 2023 +0200
     3.2 +++ b/src/cx/list.h	Sun Apr 16 20:50:19 2023 +0200
     3.3 @@ -37,6 +37,7 @@
     3.4  #ifndef UCX_LIST_H
     3.5  #define UCX_LIST_H
     3.6  
     3.7 +#include "common.h"
     3.8  #include "collection.h"
     3.9  
    3.10  #ifdef __cplusplus
     4.1 --- a/src/cx/map.h	Sun Apr 09 20:00:44 2023 +0200
     4.2 +++ b/src/cx/map.h	Sun Apr 16 20:50:19 2023 +0200
     4.3 @@ -37,6 +37,7 @@
     4.4  #ifndef UCX_MAP_H
     4.5  #define UCX_MAP_H
     4.6  
     4.7 +#include "common.h"
     4.8  #include "collection.h"
     4.9  #include "hash_key.h"
    4.10  
     5.1 --- a/src/cx/mempool.h	Sun Apr 09 20:00:44 2023 +0200
     5.2 +++ b/src/cx/mempool.h	Sun Apr 16 20:50:19 2023 +0200
     5.3 @@ -37,6 +37,7 @@
     5.4  #ifndef UCX_MEMPOOL_H
     5.5  #define UCX_MEMPOOL_H
     5.6  
     5.7 +#include "common.h"
     5.8  #include "allocator.h"
     5.9  
    5.10  #ifdef __cplusplus

mercurial