summaryrefslogtreecommitdiff
path: root/inputmethod/fcitx5/patches/patch-src_lib_fcitx-utils_misc.cpp
blob: f7c0eb5c15e2fbc44e952dd43fb6999f95391d55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-src_lib_fcitx-utils_misc.cpp,v 1.1 2021/02/17 15:16:25 ryoon Exp $

* NetBSD has no sys/user.h.

--- src/lib/fcitx-utils/misc.cpp.orig	2020-12-25 17:51:34.717115200 +0000
+++ src/lib/fcitx-utils/misc.cpp
@@ -16,7 +16,9 @@
 #include <kvm.h>
 #include <sys/param.h>
 #include <sys/sysctl.h>
+#if !defined(__NetBSD__)
 #include <sys/user.h>
+#endif
 #elif defined(__APPLE__)
 #include <libproc.h>
 #endif