Skip to content

Commit 458b7ff

Browse files
committed
Worked around FreeBSD
Signed-off-by: Rich Ercolani <[email protected]>
1 parent 29bfbf2 commit 458b7ff

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

include/os/freebsd/spl/sys/debug.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
/*
5757
* Common DEBUG functionality.
5858
*/
59+
#ifdef __FreeBSD__
60+
#include <linux/compiler.h>
61+
#endif
5962

6063
#ifndef __printflike
6164
#define __printflike(a, b) __printf(a, b)

include/os/linux/spl/sys/debug.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
/*
5757
* Common DEBUG functionality.
5858
*/
59+
#ifdef __FreeBSD__
60+
#include <linux/compiler.h>
61+
#endif
5962

6063
#ifndef __printflike
6164
#define __printflike(a, b) __printf(a, b)

0 commit comments

Comments
 (0)