diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-02-13 21:40:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-13 21:40:18 -0500 |
| commit | b81e17149a1f77d4db07345cceebdd1e6af5876f (patch) | |
| tree | dc580e39456f3fba29c1b441e2022b14bf859f54 | |
| parent | 757abe78d84cba04c058f43b60d07dca554302c2 (diff) | |
| parent | 5c088023db734b9fc23f533050266ddb6bab11a5 (diff) | |
Merge pull request #204 from opensourcerouting/ospfclient-link
ospfclient: fix gcc -O0 build
| -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" |
