From 0e32b1a07b1b032576c7b0a73d7f1a090a50dd23 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 31 Aug 2022 10:40:52 -0700
Subject: [PATCH] Include stdlib.h for exit and abort prototypes

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/I.c          | 1 +
 src/nana_error.c | 1 +
 src/nanafilter.c | 1 +
 3 files changed, 3 insertions(+)

diff --git a/src/I.c b/src/I.c
index e4577ae..4761af4 100644
--- a/src/I.c
+++ b/src/I.c
@@ -30,6 +30,7 @@
 
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <I.h>
 
 /*
diff --git a/src/nana_error.c b/src/nana_error.c
index 51f99f2..c3a67d2 100644
--- a/src/nana_error.c
+++ b/src/nana_error.c
@@ -30,6 +30,7 @@
 
 #include <nana_error.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 void nana_error(const char *message) {
   fprintf(stderr, "nana_error: %s\n", message);
diff --git a/src/nanafilter.c b/src/nanafilter.c
index 191e8ef..1ab1978 100644
--- a/src/nanafilter.c
+++ b/src/nanafilter.c
@@ -33,6 +33,7 @@
 static const char rcs[] ="Id: nanafilter.c,v 1.2 1998/06/10 06:58:55 pjm Exp ";
 
 #include <stdio.h>
+#include <stdlib.h>
 
 void do_input(void);
 void do_string(void);
-- 
2.37.3

