aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r--sysdeps/gnu/getutmp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/gnu/getutmp.c b/sysdeps/gnu/getutmp.c
index ab21863..2fe53bf 100644
--- a/sysdeps/gnu/getutmp.c
+++ b/sysdeps/gnu/getutmp.c
@@ -19,7 +19,10 @@
#include <assert.h>
#include <string.h>
#include <utmp.h>
+/* This is an ugly hack but we must not see the getutmpx declaration. */
+#define getutmpx XXXgetutmpx
#include <utmpx.h>
+#undef getutmpx
void
getutmp (const struct utmpx *utmpx, struct utmp *utmp)