ports/sysutils/lttng-tools/files/patch-src_common_common.h
Mahdi Mokhtari a8416c340c Adding sysutils/lttng-ust and sysutils/lttng-tools.
LTTng stands for Linux Trace Toolkit: next generation. It's a modern toolkit
for tracing Linux (And now FreeBSD, only userspace now) programs.

PR:		216142
Submitted by:	mmokhi
Reported by:	mmokhi
Reviewed by:	feld, mat
Approved by:	feld, mat (mentors)
Differential Revision:	https://reviews.freebsd.org/D9200
2017-02-11 15:36:17 +00:00

17 lines
289 B
C

--- src/common/common.h.orig 2016-11-29 22:48:37 UTC
+++ src/common/common.h
@@ -19,6 +19,14 @@
#ifndef _COMMON_H
#define _COMMON_H
+#if defined(__FreeBSD__)
+
+#include <sys/endian.h>
+
+#define ENODATA ENOATTR
+
+#endif
+
#include "error.h"
#include "macros.h"
#include "runas.h"