$NetBSD: patch-ak,v 1.2 2011/01/17 16:46:42 drochner Exp $

--- common/display-x11.c~	2011-01-09 17:35:14.000000000 +0900
+++ common/display-x11.c	2011-01-09 17:44:27.000000000 +0900
@@ -21,7 +21,9 @@
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <stdio.h>
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
+#endif
 #include <string.h>
 
 #include "common.h"
