gentoo-ebuilds/net-misc/wput/files/wput-0.6.2_p20130413_p11-exit-not-found-musl.patch
Brahmajit Das a8cbe0ecfc
net-misc/wput: Fix call to undeclared library function exit
Closes: https://bugs.gentoo.org/898060
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31564
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2023-07-14 10:24:24 +03:00

9 lines
187 B
Diff

Bug: https://bugs.gentoo.org/898060
--- a/src/memdbg.c
+++ b/src/memdbg.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include <malloc.h>
#include <fcntl.h>
#ifndef WIN32