From 57a3e9c1c7507b5ce56122429cc3649009a4ecc7 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 15 Dec 2023 16:08:12 +0100 Subject: Remove superfluous includes This should fix #32 --- include/poll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/poll.h') diff --git a/include/poll.h b/include/poll.h index 8831f95..29e5c40 100644 --- a/include/poll.h +++ b/include/poll.h @@ -36,7 +36,7 @@ __diagnose_as_builtin(__builtin_poll, 1, 2, 3) #endif _FORTIFY_FN(poll) int poll(struct pollfd * _FORTIFY_POS0 __f, nfds_t __n, int __s) { - size_t __b = __bos(__f, 0); + __fh_size_t __b = __bos(__f, 0); if (__n > __b / sizeof(struct pollfd)) __builtin_trap(); @@ -51,7 +51,7 @@ __diagnose_as_builtin(__builtin_ppoll, 1, 2, 3, 4) _FORTIFY_FN(ppoll) int ppoll(struct pollfd * _FORTIFY_POS0 __f, nfds_t __n, const struct timespec *__s, const sigset_t *__m) { - size_t __b = __bos(__f, 0); + __fh_size_t __b = __bos(__f, 0); if (__n > __b / sizeof(struct pollfd)) __builtin_trap(); -- cgit v1.3