Skip to content

Commit

Permalink
Worked around FreeBSD
Browse files Browse the repository at this point in the history
Signed-off-by: Rich Ercolani <[email protected]>
  • Loading branch information
rincebrain committed Mar 2, 2024
1 parent 29bfbf2 commit 458b7ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/os/freebsd/spl/sys/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*
* Common DEBUG functionality.
*/
#ifdef __FreeBSD__
#include <linux/compiler.h>
#endif

#ifndef __printflike
#define __printflike(a, b) __printf(a, b)
Expand Down
3 changes: 3 additions & 0 deletions include/os/linux/spl/sys/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*
* Common DEBUG functionality.
*/
#ifdef __FreeBSD__
#include <linux/compiler.h>
#endif

#ifndef __printflike
#define __printflike(a, b) __printf(a, b)
Expand Down

0 comments on commit 458b7ff

Please sign in to comment.