From: Fredrik Tolf Date: Mon, 14 Jul 2025 19:27:33 +0000 (+0200) Subject: Adapt parts of the code to newer standards. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=b550a9ff71e3b276100abf3381ee50616ec4ee62;p=doldaconnect.git Adapt parts of the code to newer standards. --- 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