mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
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
17 lines
289 B
C
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"
|