Description: fix multiple implicit function declarations.
Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066377
Forwarded: no
Last-Update: 2024-03-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- argtable2-13.orig/src/arg_int.c
+++ argtable2-13/src/arg_int.c
@@ -29,6 +29,7 @@
 /* #endif */
 
 #include "argtable2.h"
+#include <ctype.h>
 #include <limits.h>
 
 /* local error codes */
--- argtable2-13.orig/tests/fntests.c
+++ argtable2-13/tests/fntests.c
@@ -1,5 +1,6 @@
 #include "../src/argtable2.h"
 #include <assert.h>
+#include <string.h>
 
 /* for memory leak debugging */
 #ifdef DMALLOC
--- argtable2-13.orig/tests/test_file.c
+++ argtable2-13/tests/test_file.c
@@ -21,6 +21,7 @@
 
 #include "../src/argtable2.h"
 #include <stdlib.h>
+#include <string.h>
 
 /* for memory leak debugging */
 #ifdef DMALLOC
