X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Fusleep.h;h=3225d66f02af3f5f841938e38426db827e5351d8;hb=d6b0217f2417bd19187f0ebc389d6c5c2233b11c;hp=6d58293de5ae4a7b271cb5712a4fcdca5a662d35;hpb=f3e0240915ed9f9b3a61781f5c7002d587563fe0;p=xscreensaver diff --git a/utils/usleep.h b/utils/usleep.h index 6d58293d..3225d66f 100644 --- a/utils/usleep.h +++ b/utils/usleep.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992, 1996 Jamie Zawinski +/* xscreensaver, Copyright (c) 1992, 1996 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -12,6 +12,14 @@ #ifndef __SCREENHACK_USLEEP_H__ #define __SCREENHACK_USLEEP_H__ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#ifdef HAVE_UNISTD_H +# include +#endif + extern void screenhack_usleep (unsigned long usecs); #undef usleep