summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index 95236ce97..a2d367bac 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -56,7 +56,7 @@
#if defined(__FreeBSD_kernel__)
# include <pty.h>
-# ifdef HAVE_UTMPX_H
+# ifdef HAVE_UTMP_H
# include <utmp.h>
# endif
# ifdef HAVE_LIBUTIL_H