$NetBSD: patch-ak,v 1.3 2012/11/08 19:55:56 adam Exp $

--- common/display-x11.c.orig	2011-01-09 17:35:14.000000000 +0900
+++ common/display-x11.c	2011-01-09 17:44:27.000000000 +0900
@@ -26,7 +26,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"
