summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-10-31 21:12:02 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-10-31 21:12:02 +0100
commit9c7c602cc90aa70e0d0a3169aeb5f88589bcfa2b (patch)
tree47553d6c488f47a294f068a111ca33ccc12ffa87
parent435e545dd2c5217bc070e009d2bf5201193da4aa (diff)
exit(3) is defined in stdlib.h
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 16914f8..f192990 100644
--- a/util.h
+++ b/util.h
@@ -29,6 +29,7 @@
#ifndef __UTIL_H
#define __UTIL_H
+#include <stdlib.h>
/* Abort on out of memory */
static void redisOOM(void) {