Re: [PATCH 10/15] tools/nolibc: add timerfd functionality

From: Willy Tarreau
Date: Sat Apr 26 2025 - 06:34:04 EST


On Wed, Apr 23, 2025 at 05:01:40PM +0200, Thomas Weißschuh wrote:
> diff --git a/tools/include/nolibc/sys/timerfd.h b/tools/include/nolibc/sys/timerfd.h
> new file mode 100644
> index 0000000000000000000000000000000000000000..2d61fc76fe9a9ba7571f52ff157a8a4807d7d9c9
> --- /dev/null
> +++ b/tools/include/nolibc/sys/timerfd.h
> @@ -0,0 +1,87 @@
> +/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
> +/*
> + * timerfd definitions for NOLIBC
> + * Copyright (C) 2025 Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
> + */

Same note about not forgetting to add the nolibc include from the other
series here.

> +#ifndef _NOLIBC_SYS_TIMERFD_H
> +#define _NOLIBC_SYS_TIMERFD_H
> +
> +#include "../sys.h"
> +#include "../time.h"

Willy