summaryrefslogtreecommitdiff
path: root/misc/otter/files/patch-mace2_anldp.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-03 09:41:20 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-03 09:41:20 +0000
commita168395ed72a5ba7a3679bb1294c987ef3b59988 (patch)
tree578deae2fa9b5a2280db426388a0dbd49e850ef7 /misc/otter/files/patch-mace2_anldp.c
parent- Update WWW (diff)
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=547434
Diffstat (limited to 'misc/otter/files/patch-mace2_anldp.c')
-rw-r--r--misc/otter/files/patch-mace2_anldp.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/otter/files/patch-mace2_anldp.c b/misc/otter/files/patch-mace2_anldp.c
new file mode 100644
index 000000000000..ee28ac2201fc
--- /dev/null
+++ b/misc/otter/files/patch-mace2_anldp.c
@@ -0,0 +1,13 @@
+--- mace2/anldp.c.orig 2003-08-06 18:43:36 UTC
++++ mace2/anldp.c
+@@ -41,6 +41,10 @@
+
+ /************* END OF ALL GLOBAL CONSTANT DEFINITIONS ****************/
+
++#define IN_MAIN
++
++#include "../source/header.h"
++
+ #include "Opts.h"
+ #include "Stats.h"
+ #include "Avail.h"