diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2021-05-03 18:47:32 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2021-05-03 18:48:33 +0200 |
commit | 20a4a2e9e64c656e8896ee0754938905c61d320a (patch) | |
tree | d6e3d5e25896c5624d28ad940bb7bd32af63c3df /qpb/subdir.am | |
parent | Merge pull request #8545 from opensourcerouting/assert-our-own (diff) | |
download | frr-20a4a2e9e64c656e8896ee0754938905c61d320a.tar.xz frr-20a4a2e9e64c656e8896ee0754938905c61d320a.zip |
build: fix assert() use in .pb-c.c files
The .pb-c.c files pick up our assert() override, but that needs config.h
to be included too, and that needs to go at the very top of the file...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'qpb/subdir.am')
-rw-r--r-- | qpb/subdir.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpb/subdir.am b/qpb/subdir.am index 4f826355d..704efc593 100644 --- a/qpb/subdir.am +++ b/qpb/subdir.am @@ -44,6 +44,7 @@ am__v_PROTOC_C_1 = .proto.pb-c.c: $(AM_V_PROTOC_C)$(PROTOC_C) -I$(top_srcdir) --c_out=$(top_builddir) $^ + $(AM_V_GEN)$(SED) -e '1i#include "config.h"' -i $@ .pb-c.c.pb-c.h: @/bin/true |