Skip to content

Commit ff5c3ea

Browse files
move sys/wait.h to os_core_linux
1 parent 4ea3c5a commit ff5c3ea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/demon/linux/demon_core_linux.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
//~ rjf: Includes
99

1010
#include <sys/ptrace.h>
11-
#include <sys/wait.h>
1211
#include <sys/uio.h>
1312
#include <elf.h>
1413

src/os/core/linux/os_core_linux.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
#include <dirent.h>
1111
#include <dlfcn.h>
12+
#include <dlfcn.h>
1213
#include <errno.h>
14+
#include <execinfo.h>
1315
#include <fcntl.h>
1416
#include <features.h>
1517
#include <linux/limits.h>
@@ -25,10 +27,9 @@
2527
#include <sys/syscall.h>
2628
#include <sys/sysinfo.h>
2729
#include <sys/types.h>
30+
#include <sys/wait.h>
2831
#include <time.h>
2932
#include <unistd.h>
30-
#include <execinfo.h>
31-
#include <dlfcn.h>
3233

3334
pid_t gettid(void);
3435
int pthread_setname_np(pthread_t thread, const char *name);

0 commit comments

Comments
 (0)