summaryrefslogtreecommitdiff
path: root/app/sessreg
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 15:52:39 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 15:52:39 +0000
commitf641c1c1f538f48dd50d9421f6ed81814571f8cd (patch)
tree60c3f36e1fbd65a427a304531c48cd6d2594cd28 /app/sessreg
parent1d20f314c40bbfe8780247fae18ff5bff9b97928 (diff)
Build fixes from X.Org -current.
Diffstat (limited to 'app/sessreg')
-rw-r--r--app/sessreg/Makefile.am2
-rw-r--r--app/sessreg/sessreg.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/sessreg/Makefile.am b/app/sessreg/Makefile.am
index 952ec8ca1..83f4b58c4 100644
--- a/app/sessreg/Makefile.am
+++ b/app/sessreg/Makefile.am
@@ -63,7 +63,7 @@ sessreg.$(APP_MAN_SUFFIX): filenames.sed
filenames.sed: filenames.sed.c
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(srcdir)/filenames.sed.c | grep 's\|__' > $@
+ $(CPPFLAGS) $(srcdir)/filenames.sed.c | grep 's|__' > $@
if LINT
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
diff --git a/app/sessreg/sessreg.h b/app/sessreg/sessreg.h
index 62484dddb..84f8babca 100644
--- a/app/sessreg/sessreg.h
+++ b/app/sessreg/sessreg.h
@@ -55,6 +55,7 @@
#include "config.h"
+#include <time.h>
#include <utmp.h>
#ifdef HAVE_UTMPX_H