Author: Tj <debian@iam.tj>
Last-Update: 2025-09-27
Forwarded: not-needed
Description: Fix FTBFS for C23

diff --git a/include/libast/types.h.in b/include/libast/types.h.in
index 61c81ba..fd4ffd7 100644
--- a/include/libast/types.h.in
+++ b/include/libast/types.h.in
@@ -604,7 +604,11 @@ typedef void *spif_ptr_t;
  *
  * @see @link DOXGRP_TYPES Portable Data Types @endlink
  */
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ < 202311L
 typedef void * (*spif_func_t)();
+#else
+typedef void * (*spif_func_t)(...);
+#endif
 
 /**
  * A class name.
@@ -936,12 +940,16 @@ typedef enum {
  */
 typedef enum {
 #ifndef __cplusplus
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ < 202311L
   false = 0,
+#endif
 #endif
   False = 0,
   FALSE = 0,
 #ifndef __cplusplus
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ < 202311L
   true = 1,
+#endif
 #endif
   True = 1,
   TRUE = 1
