]> xenbits.xensource.com Git - libvirt.git/commitdiff
daemon: Include stdlib.h in dispatch.c
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 13 Nov 2010 11:28:48 +0000 (12:28 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 14 Nov 2010 21:21:21 +0000 (22:21 +0100)
Otherwise GCC complains about malloc being unknown on FreeBSD.

daemon/dispatch.c

index 97316144a6d0bab461503dbc47a44f5855054ecb..bf2ac73415c324dc384304dc8cfb52fd32298822 100644 (file)
@@ -24,6 +24,7 @@
 #include <config.h>
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <stdarg.h>
 #include <stdbool.h>