From b550a9ff71e3b276100abf3381ee50616ec4ee62 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Mon, 14 Jul 2025 21:27:33 +0200 Subject: [PATCH] Adapt parts of the code to newer standards. --- daemon/Makefile.am | 2 +- daemon/fnet-adc.c | 1 + daemon/reqstat.c | 1 + daemon/ui.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon/Makefile.am b/daemon/Makefile.am index a80ad94..6035788 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -33,4 +33,4 @@ endif EXTRA_DIST=emacs-local doldacond_LDADD=$(top_srcdir)/common/libcommon.a \ @KRB5_LIBS@ -lbz2 -lz -lgdbm @PAM_LIBS@ @KEYUTILS_LIBS@ @XATTR_LIBS@ -doldacond_CPPFLAGS=-I$(top_srcdir)/include -DDAEMON @KRB5_CFLAGS@ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +doldacond_CPPFLAGS=-I$(top_srcdir)/include -DDAEMON @KRB5_CFLAGS@ diff --git a/daemon/fnet-adc.c b/daemon/fnet-adc.c index 0112710..b4c93d7 100644 --- a/daemon/fnet-adc.c +++ b/daemon/fnet-adc.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/daemon/reqstat.c b/daemon/reqstat.c index 1834952..51d0d51 100644 --- a/daemon/reqstat.c +++ b/daemon/reqstat.c @@ -22,6 +22,7 @@ #include #include #include +#include #ifdef HAVE_CONFIG_H #include diff --git a/daemon/ui.c b/daemon/ui.c index 0f6e701..6574be5 100644 --- a/daemon/ui.c +++ b/daemon/ui.c @@ -19,6 +19,7 @@ #define _GNU_SOURCE #include #include +#include #include #include #include -- 2.39.5