]> www.dolda2000.com Git - doldaconnect.git/commitdiff
Adapt parts of the code to newer standards.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 14 Jul 2025 19:27:33 +0000 (21:27 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 14 Jul 2025 19:27:33 +0000 (21:27 +0200)
daemon/Makefile.am
daemon/fnet-adc.c
daemon/reqstat.c
daemon/ui.c

index a80ad948803db2037d35c7b986be9ab3c1e3118b..60357885ad5bebc6d095e845962400df1f5519ef 100644 (file)
@@ -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@
index 0112710755f78e8e634dc86f71a988c51a3a4e9d..b4c93d7cba244644973b19644c10d193a438f7b1 100644 (file)
@@ -22,6 +22,7 @@
 #include <fcntl.h>
 #include <stdarg.h>
 #include <string.h>
+#include <stdint.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <wctype.h>
index 18349529fa35681bf6c245a8f2ebeac62a7f4cdf..51d0d5150ebf66c52e097780f8af3ca17477eebb 100644 (file)
@@ -22,6 +22,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <time.h>
+#include <stdint.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
index 0f6e701bbe45d5d9d3aab1e46c912d1362754443..6574be51814706b0019ab5996da3f27f1dd74995 100644 (file)
@@ -19,6 +19,7 @@
 #define _GNU_SOURCE
 #include <unistd.h>
 #include <stdlib.h>
+#include <sys/stat.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netinet/ip6.h>