Commit 19b9a0920987f07d05040b3a067b1599e38f6013

Russell Belfer 2013-08-28T11:20:47

Add stddef include for sortedcache All use of sortedcache will need this header, so put it in the definition of the sortedcache API.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/sortedcache.h b/src/sortedcache.h
index 5ebb116..4cacad6 100644
--- a/src/sortedcache.h
+++ b/src/sortedcache.h
@@ -14,6 +14,8 @@
 #include "pool.h"
 #include "strmap.h"
 
+#include <stddef.h>
+
 /*
  * The purpose of this data structure is to cache the parsed contents of a
  * file (a.k.a. the backing file) where each item in the file can be