From 95f6019a20600758ac7a42f7b0dc1526131c4574 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Tue, 23 May 2017 09:04:40 +0200 Subject: proc.h: add missing headers ino_t and pid_t require stat.h and types.h, respectively. Fixes the following build failure with musl libc: In file included from cpp.c:7:0: proc.h:11:31: error: unknown type name =E2=80=98ino_t=E2=80=99 extern int proc_find_by_inode(ino_t ino, char *cmdline, size_t len, pid_t = *pid); ^ proc.h:11:69: error: unknown type name =E2=80=98pid_t=E2=80=99 extern int proc_find_by_inode(ino_t ino, char *cmdline, size_t len, pid_t = *pid); ^ proc.h:12:25: error: unknown type name =E2=80=98pid_t=E2=80=99 extern bool proc_exists(pid_t pid); ^ Signed-off-by: Baruch Siach [tk: complementary fix to commit a9f4431e0a20] Signed-off-by: Tobias Klauser --- proc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/proc.h b/proc.h index 7b5be9b..b3dfca9 100644 --- a/proc.h +++ b/proc.h @@ -2,6 +2,7 @@ #define PROC_H #include +#include #include #include -- cgit v1.2.3-54-g00ecf