summaryrefslogtreecommitdiff
path: root/net-analyzer/authforce/files/authforce-0.9.9-Include-stdlib.h-for-free.patch
blob: fec77215435c3a9b38feb4bac20011778c6a6930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From e5e62f92c53f5f8cca9380ad3225c84be5eec04f Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Wed, 19 Oct 2022 03:33:51 +0100
Subject: [PATCH] Include <stdlib.h> for free()

Bug: https://bugs.gentoo.org/871222
--- a/src/debug.c
+++ b/src/debug.c
@@ -3,6 +3,7 @@
 #include <config.h>
 #include <stdio.h>
 #include <stdarg.h>
+#include <stdlib.h>
 #ifdef MEMWATCH
 #include "memwatch.h"
 #endif /* MEMWATCH*/