From: Philip Prindeville <philipp@redfish-solutions.com>
Date: Sun, 28 Jul 2024 01:19:46 +0000 (-0600)
Subject: build: autoconf: Activate options for standard types
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b8b9c79d277634e77c850fc76ed805c282e46c4b;p=openwrt%2Fstaging%2Fblocktrron.git

build: autoconf: Activate options for standard types

These are POSIX standard types

And therefore should be present in any POSIX compliant runtime.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Link: https://github.com/openwrt/openwrt/pull/15952
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---

diff --git a/include/site/linux b/include/site/linux
index 63fc3aa6b1..1dadd60bf3 100644
--- a/include/site/linux
+++ b/include/site/linux
@@ -66,9 +66,12 @@ ac_cv_sctp=no
 ac_cv_sys_restartable_syscalls=yes
 ac_cv_time_r_type=POSIX
 ac_cv_type_suseconds_t=yes
+ac_cv_size_t=yes
+ac_cv_ssize_t=yes
 ac_cv_uchar=no
 ac_cv_uint=yes
 ac_cv_uint64_t=yes
+ac_cv_uintptr_t=yes
 ac_cv_ulong=yes
 ac_cv_ushort=yes
 ac_cv_va_copy=C99