--- a/src/parse.c
+++ b/src/parse.c
@@ -16,6 +16,7 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <stdlib.h>
 #include "network.h"
 
 #include <libnetfilter_conntrack/libnetfilter_conntrack.h>
