From 93498fff02c5edecff102d895f5cd239cb1504a2 Mon Sep 17 00:00:00 2001 From: Toni Date: Mon, 6 Nov 2023 13:25:49 +0100 Subject: Apple/BSD port (#30) * Add MacOS to Github CI builds. * Fixed libnDPI-4.8 CI build. * Fixed missing include for `struct sockaddr*`. * Reworked IPv4 address and netmask retrieval. Signed-off-by: Toni Uhlig --- utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils.h') diff --git a/utils.h b/utils.h index fb170fbb5..a568bd942 100644 --- a/utils.h +++ b/utils.h @@ -56,6 +56,8 @@ __attribute__((format(printf, 2, 3))) void logger(int is_error, char const * con __attribute__((format(printf, 2, 3))) void logger_early(int is_error, char const * const format, ...); +int set_fd_cloexec(int fd); + char const * get_nDPId_version(void); #endif -- cgit v1.2.3