summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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