$OpenBSD: patch-examples_rulerdemo_c,v 1.1 2008/12/01 19:16:39 jasper Exp $
--- examples/rulerdemo.c.orig	Mon Dec  1 13:22:04 2008
+++ examples/rulerdemo.c	Mon Dec  1 13:22:17 2008
@@ -1,5 +1,6 @@
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #include <X11/StringDefs.h>
 #include <X11/Intrinsic.h>
