Index: jewel.c
--- jewel.c.orig
+++ jewel.c
@@ -18,6 +18,7 @@
 #include <X11/keysymdef.h>
 #endif
 
+#include <stdio.h>
 #include <stdlib.h>
 
 #include "general.h"
