summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-08-28 11:20:47 -0700
committerRussell Belfer <rb@github.com>2013-08-28 11:20:47 -0700
commit19b9a0920987f07d05040b3a067b1599e38f6013 (patch)
tree6c117e56822c62a5299f454ead876892d89c286a
parentdbecec37a74a04a350e7c2ef6aee49d5d833d768 (diff)
downloadlibgit2-19b9a0920987f07d05040b3a067b1599e38f6013.tar.gz
Add stddef include for sortedcache
All use of sortedcache will need this header, so put it in the definition of the sortedcache API.
-rw-r--r--src/sortedcache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sortedcache.h b/src/sortedcache.h
index 5ebb116ed..4cacad62b 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