Hi Baruch

On 2017-04-16 at 07:22:20 +0200, Baruch Siach <bar...@tkos.co.il> wrote:
> 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 ‘ino_t’
>  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 ‘pid_t’
>  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 ‘pid_t’
>  extern bool proc_exists(pid_t pid);
>                          ^
> 
> Signed-off-by: Baruch Siach <bar...@tkos.co.il>

I already applied a similar patch in commit a9f4431e0a20 ("proc: include
headers to get definitions for ino_t and pid_t") but missed to add
sys/stat.h, so I'll apply a modified version of your patch.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netsniff-ng+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to