diff options
author | Willy Tarreau <w@1wt.eu> | 2022-02-07 17:23:49 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-21 02:05:45 +0200 |
commit | 4619de344657c23101e8976b816466910dfb2759 (patch) | |
tree | 0d0efac32dd6ede1afb5e5c7fe42e458760abc2d /tools/include/nolibc/nolibc.h | |
parent | tools/nolibc/errno: extract errno.h from sys.h (diff) | |
download | linux-4619de344657c23101e8976b816466910dfb2759.tar.xz linux-4619de344657c23101e8976b816466910dfb2759.zip |
tools/nolibc/unistd: extract msleep(), sleep(), tcsetpgrp() to unistd.h
These functions are normally provided by unistd.h. For ease of porting,
let's create the file and move them there.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/include/nolibc/nolibc.h')
-rw-r--r-- | tools/include/nolibc/nolibc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/nolibc/nolibc.h b/tools/include/nolibc/nolibc.h index 7eaa09fe9f4d..686726518431 100644 --- a/tools/include/nolibc/nolibc.h +++ b/tools/include/nolibc/nolibc.h @@ -91,6 +91,7 @@ #include "stdio.h" #include "stdlib.h" #include "string.h" +#include "unistd.h" /* Used by programs to avoid std includes */ #define NOLIBC |