From 7925f83b57cb10b001f4e46e0962510a7c3a5fdf Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Fri, 11 Dec 2015 14:57:34 +0100 Subject: [PATCH] Fix compilation because glibtop_machine definition has moved. --- sysdeps/openbsd/glibtop_suid.h | 2 ++ sysdeps/openbsd/suid_open.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sysdeps/openbsd/glibtop_suid.h b/sysdeps/openbsd/glibtop_suid.h index 253c1d50..6b9a5a9b 100644 --- a/sysdeps/openbsd/glibtop_suid.h +++ b/sysdeps/openbsd/glibtop_suid.h @@ -28,6 +28,8 @@ G_BEGIN_DECLS #include #endif +#include + #define KI_PROC(ki) (&(ki))->kp_proc) #define KI_EPROC(ki) (&(ki))->kp_eproc) diff --git a/sysdeps/openbsd/suid_open.c b/sysdeps/openbsd/suid_open.c index c6883223..ef5d2e26 100644 --- a/sysdeps/openbsd/suid_open.c +++ b/sysdeps/openbsd/suid_open.c @@ -25,7 +25,7 @@ #include #include #include - +#include /* !!! THIS FUNCTION RUNS SUID ROOT - CHANGE WITH CAUTION !!! */