projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.nluug.nl/pub/os/Linux/distr/pardusrepo/sources/xscreensaver-5.02.tar.gz
[xscreensaver]
/
utils
/
usleep.c
diff --git
a/utils/usleep.c
b/utils/usleep.c
index 706675910e1818736d0b61218427fb98719dc0d4..f065729b5b500bd67c84a4eefba13523468fc803 100644
(file)
--- a/
utils/usleep.c
+++ b/
utils/usleep.c
@@
-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
* Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
@@
-22,6
+22,10
@@
# include <stdlib.h>
#endif
# include <stdlib.h>
#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
#if defined(VMS)
# include <descrip.h>
# include <stdio.h>
#if defined(VMS)
# include <descrip.h>
# include <stdio.h>
@@
-35,6
+39,8
@@
ERROR, do not include that here
#endif
ERROR, do not include that here
#endif
+extern void screenhack_usleep (unsigned long usecs); /* suppress warning */
+
void
screenhack_usleep (unsigned long usecs)
{
void
screenhack_usleep (unsigned long usecs)
{