From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver] / hacks / bumps.c
index a0b7345cfd4207607f3a8de854218af9decc580a..60de04a3c9ebb87957e3b782a4f1ed942cf2a284 100644 (file)
@@ -30,6 +30,7 @@
 
 
 #include <math.h>
+#include <time.h>
 #include <inttypes.h>
 #include "screenhack.h"
 
@@ -63,7 +64,7 @@ static const char *bumps_defaults [] = {
 #ifdef HAVE_XSHM_EXTENSION
   "*useSHM:            True",
 #endif /* HAVE_XSHM_EXTENSION */
-#ifdef USE_IPHONE
+#ifdef HAVE_MOBILE
   "*ignoreRotation: True",
   "*rotateImages:   True",
 #endif