1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
From: Sebastian Ramacher <sramacher@debian.org>
Date: Sun, 10 Mar 2024 19:17:04 +0100
Subject: Add missing #includes
---
camd-newcamd.c | 1 +
filter.c | 1 +
libtsfuncs/misc.c | 1 +
process.c | 1 +
4 files changed, 4 insertions(+)
diff --git a/camd-newcamd.c b/camd-newcamd.c
index 58e3bae..f31cefd 100644
--- a/camd-newcamd.c
+++ b/camd-newcamd.c
@@ -18,6 +18,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <crypt.h>
#include <openssl/des.h>
diff --git a/filter.c b/filter.c
index d22d974..dd76854 100644
--- a/filter.c
+++ b/filter.c
@@ -14,6 +14,7 @@
*/
#include <ctype.h>
#include <string.h>
+#include <stdlib.h>
#include "data.h"
#include "filter.h"
diff --git a/libtsfuncs/misc.c b/libtsfuncs/misc.c
index 475e7e0..8adcd01 100644
--- a/libtsfuncs/misc.c
+++ b/libtsfuncs/misc.c
@@ -5,6 +5,7 @@
* Released under MIT license.
* See LICENSE-MIT.txt for license terms.
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <unistd.h>
#include <netdb.h>
diff --git a/process.c b/process.c
index b19d0dd..ee2106c 100644
--- a/process.c
+++ b/process.c
@@ -15,6 +15,7 @@
#include <unistd.h>
#include <string.h>
#include <sys/uio.h>
+#include <stdlib.h>
#include "data.h"
#include "csa.h"
|