mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 02:53:10 -04:00
Some of the patches retained here may be out of scope now, such as those patches still adding a definition for NT_GNU_BUILD_ID. Changelog: https://git.lttng.org/?p=lttng-ust.git;a=blob_plain;f=ChangeLog;hb=ac8d9a90b1e9052d2dea77e0b0c92b779bceb4a8 PR: 263112
14 lines
361 B
C
14 lines
361 B
C
--- 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>
|