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
--- a/src/cx/collection.h	Sun Apr 09 20:00:44 2023 +0200
+++ b/src/cx/collection.h	Sun Apr 16 20:50:19 2023 +0200
@@ -37,7 +37,6 @@
 #ifndef UCX_COLLECTION_H
 #define UCX_COLLECTION_H
 
-#include "common.h"
 #include "allocator.h"
 #include "iterator.h"
 
--- a/src/cx/hash_key.h	Sun Apr 09 20:00:44 2023 +0200
+++ b/src/cx/hash_key.h	Sun Apr 16 20:50:19 2023 +0200
@@ -38,7 +38,7 @@
 #ifndef UCX_HASH_KEY_H
 #define UCX_HASH_KEY_H
 
-#include "stddef.h"
+#include "common.h"
 
 #ifdef __cplusplus
 extern "C" {
--- a/src/cx/list.h	Sun Apr 09 20:00:44 2023 +0200
+++ b/src/cx/list.h	Sun Apr 16 20:50:19 2023 +0200
@@ -37,6 +37,7 @@
 #ifndef UCX_LIST_H
 #define UCX_LIST_H
 
+#include "common.h"
 #include "collection.h"
 
 #ifdef __cplusplus
--- a/src/cx/map.h	Sun Apr 09 20:00:44 2023 +0200
+++ b/src/cx/map.h	Sun Apr 16 20:50:19 2023 +0200
@@ -37,6 +37,7 @@
 #ifndef UCX_MAP_H
 #define UCX_MAP_H
 
+#include "common.h"
 #include "collection.h"
 #include "hash_key.h"
 
--- a/src/cx/mempool.h	Sun Apr 09 20:00:44 2023 +0200
+++ b/src/cx/mempool.h	Sun Apr 16 20:50:19 2023 +0200
@@ -37,6 +37,7 @@
 #ifndef UCX_MEMPOOL_H
 #define UCX_MEMPOOL_H
 
+#include "common.h"
 #include "allocator.h"
 
 #ifdef __cplusplus

mercurial