Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
Re: make imsg.h self-standing again
To:
Theo Buehler <tb@theobuehler.org>
Cc:
tech@openbsd.org
Date:
Thu, 5 Jun 2025 10:40:20 +0200

Download raw body.

Thread
On Thu, Jun 05, 2025 at 10:10:24AM +0200, Theo Buehler wrote:
> imsg.h needs pid_t, so I think it still needs to include sys/types.h.
> Found by sthen via audio/amused build failure.

OK claudio@ (we could drop stdint.h but I think this may cause a
problem in portable software). 

> Index: imsg.h
> ===================================================================
> RCS file: /cvs/src/lib/libutil/imsg.h,v
> diff -u -p -r1.23 imsg.h
> --- imsg.h	4 Jun 2025 09:08:52 -0000	1.23
> +++ imsg.h	5 Jun 2025 08:06:10 -0000
> @@ -22,6 +22,7 @@
>  #ifndef _IMSG_H_
>  #define _IMSG_H_
>  
> +#include <sys/types.h>
>  #include <sys/queue.h>
>  #include <stddef.h>
>  #include <stdint.h>
> 

-- 
:wq Claudio