http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[xscreensaver] / utils / usleep.c
index 706675910e1818736d0b61218427fb98719dc0d4..f065729b5b500bd67c84a4eefba13523468fc803 100644 (file)
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 1992, 1996, 1997
+/* xscreensaver, Copyright (c) 1992, 1996, 1997, 2003
  *  Jamie Zawinski <jwz@jwz.org>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
 # include <stdlib.h>
 #endif
 
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
 #if defined(VMS)
 # include <descrip.h>
 # include <stdio.h>
@@ -35,6 +39,8 @@
 ERROR, do not include that here
 #endif
 
+extern void screenhack_usleep (unsigned long usecs); /* suppress warning */
+
 void
 screenhack_usleep (unsigned long usecs)
 {