blob: 5f5bb58db13ecdef5810384974bbeef1c304d91f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
main.c: In function ‘done’:
main.c:88:43: error: implicit declaration of function -Werror=implicit-function-declaration
88 | if (action_file) { fclose(action_file); unlink(action_file_name); }
| ^~~~~~
--- a/src/main.c
+++ b/src/main.c
@@ -2,6 +2,8 @@
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
+
#ifndef __WIN32__ /*rwj -- make portable*/
#include <signal.h>
#else
|