summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ChangeLog5
-rw-r--r--lib/fixedsizehash.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 44366fec..a95f8041 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,8 @@
+2021-08-20 Saleem Abdulrasool <abdulras@google.com>
+
+ * fixedsizehash.h: Remove sys/cdefs.h include. Unconditionally
+ define STROF and CONCAT macros.
+
2021-07-28 Mark Wielaard <mark@klomp.org>
* system.h (reallocarray): New static inline fallback function.
diff --git a/lib/fixedsizehash.h b/lib/fixedsizehash.h
index dac2a5f5..f333ad99 100644
--- a/lib/fixedsizehash.h
+++ b/lib/fixedsizehash.h
@@ -30,17 +30,12 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/cdefs.h>
#include <system.h>
-#ifdef __CONCAT
-#define CONCAT(t1,t2) __CONCAT (t1,t2)
-#else
#define STROF(t2) t2
#define CONCAT_EXPANDED(t1,t2) t1 ## t2
#define CONCAT(t1,t2) CONCAT_EXPANDED(t1,t2)
-#endif
/* Before including this file the following macros must be defined: