diff -urN xc-011010-0rig/lib/X11/lcGenConv.c xc-011010/lib/X11/lcGenConv.c
--- xc-011010-0rig/lib/X11/lcGenConv.c	2001-08-15 13:54:21.000000000 +0200
+++ xc-011010/lib/X11/lcGenConv.c	2007-08-13 12:55:18.000000000 +0200
@@ -48,6 +48,7 @@
  * Platforms: all systems.
  */
 
+#include <stdlib.h>
 #include "Xlibint.h"
 #include "XlcGeneric.h"
 #include <stdio.h>