aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-01-28 18:03:36 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-02-01 18:49:11 +0100
commit1bfa8812baf86268113de44c1aec2a4a4742ad35 (patch)
tree631884765e553d702438bdb897562a2c25e88426
parent4e08ce0a985b7246e868cb4ea2e0283fde83c5f2 (diff)
downloadhardware_replicant_libsamsung-ipc-1bfa8812baf86268113de44c1aec2a4a4742ad35.zip
hardware_replicant_libsamsung-ipc-1bfa8812baf86268113de44c1aec2a4a4742ad35.tar.gz
hardware_replicant_libsamsung-ipc-1bfa8812baf86268113de44c1aec2a4a4742ad35.tar.bz2
include: samsung-ipc.h: fix missing off_t definition
Including samsung-ipc.h in a file without other includes results in a compilation error: .../include/samsung-ipc.h:161:1: error: unknown type name ‘off_t’ 161 | off_t file_data_size(struct ipc_client *client, [...] | ^~~~~ Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--include/samsung-ipc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/samsung-ipc.h b/include/samsung-ipc.h
index ea2c2c9..fe8413a 100644
--- a/include/samsung-ipc.h
+++ b/include/samsung-ipc.h
@@ -23,6 +23,7 @@
#define __SAMSUNG_IPC_H__
#include <stddef.h>
+#include <unistd.h>
#include <sys/time.h>