Code

powerdns plugin: Don't include <malloc.h>.
authorFlorian Forster <octo@crystal.wlan.home.verplant.org>
Wed, 9 Apr 2008 16:15:01 +0000 (18:15 +0200)
committerFlorian Forster <octo@crystal.wlan.home.verplant.org>
Wed, 9 Apr 2008 16:15:01 +0000 (18:15 +0200)
It isn't necessary and doesn't exist on some systems.

src/powerdns.c

index ee618241e60f5c1f9de044ffdf8ce1c24efcadb9..9caa77086535de7352dbad1c8368b0967c23d665 100644 (file)
@@ -39,7 +39,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <malloc.h>
 
 #ifndef UNIX_PATH_MAX
 # define UNIX_PATH_MAX sizeof (((struct sockaddr_un *)0)->sun_path)