aboutsummaryrefslogtreecommitdiff
path: root/hashtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'hashtable.h')
-rw-r--r--hashtable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hashtable.h b/hashtable.h
index a45de35..06c1d3a 100644
--- a/hashtable.h
+++ b/hashtable.h
@@ -1,6 +1,9 @@
#ifndef HASHTABLE_H_INCLUDED
#define HASHTABLE_H_INCLUDED
+/* in order to get strdup(), this needs to be defined */
+#define _POSIX_C_SOURCE 200809L
+
#include <stdint.h>
#include <stdlib.h>
#include <string.h>