summaryrefslogtreecommitdiff
path: root/sysdeps/osf1
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/osf1')
-rw-r--r--sysdeps/osf1/open_suid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/osf1/open_suid.c b/sysdeps/osf1/open_suid.c
index 95f9d360..913169e3 100644
--- a/sysdeps/osf1/open_suid.c
+++ b/sysdeps/osf1/open_suid.c
@@ -23,7 +23,7 @@
#include <glibtop.h>
#include <glibtop/open.h>
-
+#include <glibtop/init_hooks.h>
#include <glibtop_suid.h>
#include <unistd.h>
@@ -35,7 +35,7 @@ void
glibtop_init_p (glibtop *server, const unsigned long features,
const unsigned flags)
{
- glibtop_init_func_t *init_fkt;
+ const glibtop_init_func_t *init_fkt;
if (server == NULL)
glibtop_error_r (NULL, "glibtop_init_p (server == NULL)");