diff options
| -rw-r--r-- | ospfclient/ospf_apiclient.c | 3 | ||||
| -rw-r--r-- | ospfclient/ospfclient.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ospfclient/ospf_apiclient.c b/ospfclient/ospf_apiclient.c index fd53ab364c..c545d537fc 100644 --- a/ospfclient/ospf_apiclient.c +++ b/ospfclient/ospf_apiclient.c @@ -36,6 +36,9 @@ #include "log.h" #include "memory.h" +/* work around gcc bug 69981, disable MTYPEs in libospf */ +#define _QUAGGA_OSPF_MEMORY_H + #include "ospfd/ospfd.h" #include "ospfd/ospf_interface.h" #include "ospfd/ospf_asbr.h" diff --git a/ospfclient/ospfclient.c b/ospfclient/ospfclient.c index 9a77a64cc4..43ffa1da8e 100644 --- a/ospfclient/ospfclient.c +++ b/ospfclient/ospfclient.c @@ -32,6 +32,9 @@ #include "privs.h" #include "log.h" +/* work around gcc bug 69981, disable MTYPEs in libospf */ +#define _QUAGGA_OSPF_MEMORY_H + #include "ospfd/ospfd.h" #include "ospfd/ospf_asbr.h" #include "ospfd/ospf_lsa.h" |
