git » nmdb » commit 825ffc9

Include missing #include in db.c.

author Alberto Bertogli
2007-07-25 19:47:55 UTC
committer Alberto Bertogli
2007-07-26 23:11:16 UTC
parent dbf58df7ed091c63ca782914a8f4b5e7ff3592fc

Include missing #include in db.c.

Because qdbm's depot.h includes stdlib.h, we didn't notice this before.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

nmdb/db.c +1 -0

diff --git a/nmdb/db.c b/nmdb/db.c
index defc881..9584b31 100644
--- a/nmdb/db.c
+++ b/nmdb/db.c
@@ -4,6 +4,7 @@
 #include <errno.h>		/* ETIMEDOUT */
 #include <stdio.h>		/* perror() */
 #include <string.h>		/* memcmp() */
+#include <stdlib.h>		/* malloc()/free() */
 
 #include "common.h"
 #include "db.h"