diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 21:17:56 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 22:41:05 +0100 |
commit | 49eca290d37ad7564a3be3332ee76020ddb5a03f (patch) | |
tree | b06b54e2a34b9d58842af70612e169cb77a6e153 /lib/replace/replace.h | |
parent | c9fb33697db1bdc1967a0cca557ad323ebe4ea22 (diff) | |
download | samba-49eca290d37ad7564a3be3332ee76020ddb5a03f.tar.gz samba-49eca290d37ad7564a3be3332ee76020ddb5a03f.tar.bz2 samba-49eca290d37ad7564a3be3332ee76020ddb5a03f.zip |
libreplace: Add usleep implementation.
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r-- | lib/replace/replace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h index f2b1952376..776da8aa4a 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -835,4 +835,10 @@ char *rep_getpass(const char *prompt); int rep_getpeereid(int s, uid_t *uid, gid_t *gid); #endif +#ifndef HAVE_USLEEP +#define usleep rep_usleep +typedef long useconds_t; +int usleep(useconds_t); +#endif + #endif /* _LIBREPLACE_REPLACE_H */ |