mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 17:06:32 -04:00
32 lines
567 B
C
32 lines
567 B
C
--- main.h.orig 2016-02-19 06:57:49.938584000 -0800
|
|
+++ main.h 2021-11-01 08:41:34.443421000 -0700
|
|
@@ -10,9 +10,15 @@
|
|
|
|
/* Paths */
|
|
|
|
+#ifndef INSTALL_DIR
|
|
#define INSTALL_DIR "/usr/local"
|
|
+#endif
|
|
+#ifndef CONF_DIR
|
|
#define CONF_DIR "/etc"
|
|
+#endif
|
|
+#ifndef LOCALE_DIR
|
|
#define LOCALE_DIR "/usr"
|
|
+#endif
|
|
|
|
/* i18n */
|
|
|
|
@@ -377,7 +383,13 @@
|
|
/* Data structures */
|
|
|
|
#include <time.h>
|
|
+#define _KERNEL
|
|
+#include <sys/param.h>
|
|
+#if __FreeBSD_version > 1400038
|
|
+#include <stdbool.h>
|
|
+#endif
|
|
#include <netinet/in.h>
|
|
+#undef _KERNEL
|
|
|
|
struct log_line {
|
|
time_t time;
|