diff options
author | Daniel Mierswa <impulze@impulze.org> | 2009-08-17 21:22:02 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-08-21 09:58:17 +0200 |
commit | 437fa54f0516b39b633937fc20ff24c0dcc44bd7 (patch) | |
tree | 618a387d9c0eee684c6ed41a9c280817108e69ad /mount | |
parent | 102f5d89d942ee54c5b9a5adfb04df8a5b09177f (diff) | |
download | util-linux-old-437fa54f0516b39b633937fc20ff24c0dcc44bd7.tar.gz |
replace usleep() for systems that don't have them
This function is marked obsolete in POSIX.1-2001 and removed in
POSIX.1-2008.
Conditionally replaced with nanosleep().
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
Diffstat (limited to 'mount')
-rw-r--r-- | mount/fstab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mount/fstab.c b/mount/fstab.c index 82e90f3a..8cd35d64 100644 --- a/mount/fstab.c +++ b/mount/fstab.c @@ -19,6 +19,7 @@ #include "fsprobe.h" #include "pathnames.h" #include "nls.h" +#include "usleep.h" #define streq(s, t) (strcmp ((s), (t)) == 0) |