commit 2a942d0b8b9fc274a322e258f5531caf3b13bc90
parent 1f6ebcdbfe72758d8f2bd5fd675939ac1a9885af
Author: Friedel Schön <[email protected]>
Date: Mon, 8 May 2023 01:06:56 +0200
fixing missing unistd.h (again)
Diffstat:
5 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/command.c b/src/command.c
@@ -7,6 +7,7 @@
#include <string.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <unistd.h>
const char* command_error[] = {
diff --git a/src/command_handler.c b/src/command_handler.c
@@ -5,6 +5,7 @@
#include <signal.h>
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
int service_handle_command(void* argv, sv_command_t command, unsigned char extra, service_t** response) {
diff --git a/src/config_parser.c b/src/config_parser.c
@@ -4,6 +4,7 @@
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
void parse_param_file(service_t* s, char* args[]) {
diff --git a/src/dependency.c b/src/dependency.c
@@ -5,6 +5,7 @@
#include <limits.h>
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
void service_add_dependency(service_t* s, service_t* d) {
diff --git a/src/socket_handler.c b/src/socket_handler.c
@@ -1,6 +1,7 @@
#include "service.h"
#include <stdio.h>
+#include <unistd.h>
void service_handle_socket(int client) {