forked from Lainports/freebsd-ports
- fix vm_map related breakage - remove #define/#undef _KERNEL for tmpfs (dougm had the header fixed) patch courtesy of dougm@ PR: 242620 Reported by: ish@amail.plala.or.jp Obtained from: dougm
12 lines
335 B
C
12 lines
335 B
C
--- dialects/freebsd/dnode.c.orig 2019-12-19 21:29:42 UTC
|
|
+++ dialects/freebsd/dnode.c
|
|
@@ -58,9 +58,7 @@ _PROTOTYPE(static int lkup_dev_tty,(dev_t *dr, INODETY
|
|
|
|
|
|
#if defined(HAS_TMPFS)
|
|
-#define _KERNEL
|
|
#include <fs/tmpfs/tmpfs.h>
|
|
-#undef _KERNEL
|
|
#endif /* defined(HAS_TMPFS) */
|
|
|
|
_PROTOTYPE(static void get_lock_state,(KA_T f));
|