--- src/p_global.h.orig	2011-07-16 10:19:21.000000000 +0200
+++ src/p_global.h	2011-07-16 10:19:53.000000000 +0200
@@ -20,6 +20,7 @@
  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/socket.h>
