summaryrefslogtreecommitdiff
path: root/sysutils/lttng-ust/files/patch-src_lib_lttng-ust-ctl_ustctl.c
blob: c5fd70e2cc6c0132d421d249c2d4ecb3712bba16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/lib/lttng-ust-ctl/ustctl.c.orig	2022-03-25 15:37:22 UTC
+++ src/lib/lttng-ust-ctl/ustctl.c
@@ -8,6 +8,11 @@
 #include <stdint.h>
 #include <string.h>
 #include <sys/mman.h>
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <sys/endian.h>
+#define NT_GNU_BUILD_ID 3
+#endif
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>