From 4741832142e091d641fb8a90607b4595accb905d Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sat, 6 Apr 2019 16:49:26 +0900 Subject: Revive NetBSD support Catch up to TDE and OS changes Signed-off-by: OBATA Akio (cherry picked from commit 2a88ec3c02ab46c8b816cfa348ea53075f57a59c) --- kcontrol/tdefontinst/tdefontinst/GetPid.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kcontrol/tdefontinst') diff --git a/kcontrol/tdefontinst/tdefontinst/GetPid.c b/kcontrol/tdefontinst/tdefontinst/GetPid.c index 1a633a76b..e4159f40a 100644 --- a/kcontrol/tdefontinst/tdefontinst/GetPid.c +++ b/kcontrol/tdefontinst/tdefontinst/GetPid.c @@ -28,6 +28,10 @@ //////////////////////////////////////////////////////////////////////////////// */ +#ifdef __NetBSD__ +#define _KMEMUSER +#endif + #include #include #include @@ -173,7 +177,9 @@ unsigned int kfi_getPid(const char *proc, unsigned int ppid) #endif #include #include +#if defined(__FreeBSD__) || defined(__DragonFly__) #include +#endif #include unsigned int kfi_getPid(const char *proc, unsigned int ppid) { -- cgit v1.2.1