1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
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
|