mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-05-01 05:08:10 -07:00
Closes: https://bugs.gentoo.org/885609 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30899 Signed-off-by: Sam James <sam@gentoo.org>
29 lines
636 B
Diff
29 lines
636 B
Diff
From 519609d844f1e5bbf37407de8e43fa2d2be03262 Mon Sep 17 00:00:00 2001
|
|
From: Brahmajit Das <brahmajit.xyz@gmail.com>
|
|
Date: Sun, 7 May 2023 00:03:40 +0530
|
|
Subject: [PATCH] Fix undeclared library function strcmp
|
|
|
|
Bug: https://bugs.gentoo.org/885609
|
|
--- a/tests/fntests.c
|
|
+++ b/tests/fntests.c
|
|
@@ -1,5 +1,6 @@
|
|
#include "../src/argtable2.h"
|
|
#include <assert.h>
|
|
+#include <string.h>
|
|
|
|
/* for memory leak debugging */
|
|
#ifdef DMALLOC
|
|
--- a/tests/test_file.c
|
|
+++ b/tests/test_file.c
|
|
@@ -21,6 +21,7 @@ USA.
|
|
|
|
#include "../src/argtable2.h"
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
/* for memory leak debugging */
|
|
#ifdef DMALLOC
|
|
--
|
|
2.40.1
|
|
|