diff options
| author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-05-17 18:47:23 +0200 |
|---|---|---|
| committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-05-17 18:47:23 +0200 |
| commit | eb68d4a04c3088ec3127b300205ec300012b5e9d (patch) | |
| tree | b225db7c048271e68ce0480ec750927e556670a7 /lib/memory.c | |
| parent | 98f71533f6a5e2396c29e9ef002ee120dcd026e9 (diff) | |
zebra: Fix build error when `--disable-bfdd`
When FRR is built with the option `--disable-bfdd`, the build process
fails with the following error:
```
zebra/zebra_ptm.c: In function ‘zebra_ptm_init’:
zebra/zebra_ptm.c:119:35: error: ‘FRR_PTM_NAME’ undeclared (first use in this function)
119 | snprintf(buf, sizeof(buf), "%s", FRR_PTM_NAME);
| ^~~~~~~~~~~~
zebra/zebra_ptm.c:119:35: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:10520: zebra/zebra_ptm.o] Error 1
```
The reason is that `FRR_PTM_NAME` is defined in `version.h` which is not
imported.
This commit adds the missing import.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'lib/memory.c')
0 files changed, 0 insertions, 0 deletions
