summaryrefslogtreecommitdiff
path: root/tools/include/nolibc/sys/wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/nolibc/sys/wait.h')
-rw-r--r--tools/include/nolibc/sys/wait.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/include/nolibc/sys/wait.h b/tools/include/nolibc/sys/wait.h
index 9a68e6a6b1df..f27be86ad5e4 100644
--- a/tools/include/nolibc/sys/wait.h
+++ b/tools/include/nolibc/sys/wait.h
@@ -4,6 +4,9 @@
* Copyright (C) 2017-2021 Willy Tarreau <w@1wt.eu>
*/
+/* make sure to include all global symbols */
+#include "../nolibc.h"
+
#ifndef _NOLIBC_SYS_WAIT_H
#define _NOLIBC_SYS_WAIT_H
@@ -110,8 +113,4 @@ pid_t waitpid(pid_t pid, int *status, int options)
return info.si_pid;
}
-
-/* make sure to include all global symbols */
-#include "../nolibc.h"
-
#endif /* _NOLIBC_SYS_WAIT_H */