[Replicant] [libsamsung-ipc] [PATCH 4/5] include: samsung-ipc.h: fix missing off_t definition
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Mon Feb 1 18:00:49 UTC 2021
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 at cyberdimension.org>
---
include/samsung-ipc.h | 1 +
1 file changed, 1 insertion(+)
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>
--
2.30.0
More information about the Replicant
mailing list