summaryrefslogtreecommitdiff
path: root/server/include
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2023-05-17 01:13:13 -0500
committerDanny Holman <dholman@gymli.org>2023-05-17 01:13:13 -0500
commitca7f320b9a7ae56982d50240fc0ee5ce4b9aea89 (patch)
treeca9a9a068f45653be08b52f041fa925f01de79fb /server/include
parentc0e9790335313adb40435b6be06cc41114c0f2c9 (diff)
server: add headers to check function
Add stdarg.h and time.h to the check headers function in the configure script. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'server/include')
-rw-r--r--server/include/logging.h1
-rw-r--r--server/include/mini-rat.h8
2 files changed, 8 insertions, 1 deletions
diff --git a/server/include/logging.h b/server/include/logging.h
index 39745db..6396ac0 100644
--- a/server/include/logging.h
+++ b/server/include/logging.h
@@ -2,7 +2,6 @@
#define MRAT_LOGGING_H
#include <mini-rat.h>
-#include <stdarg.h>
enum LOG_LEVEL {
LOG_SEVERE,
diff --git a/server/include/mini-rat.h b/server/include/mini-rat.h
index c3f076e..8c9aad3 100644
--- a/server/include/mini-rat.h
+++ b/server/include/mini-rat.h
@@ -53,4 +53,12 @@
#include <unistd.h>
#endif
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+
+#ifdef HAVE_STDARG_H
+#include <stdarg.h>
+#endif
+
#endif // ifndef MINI_RAT_H