Skip to content
Success

Changes

Summary

  1. Fix building in environments that define _GNU_SOURCE (details)
Commit 16d78e4a04d08e11e4f341f2f037c90a149a66ee by laforge
Fix building in environments that define _GNU_SOURCE

On Debian unstable, this is now the case as liburing 2.7
has the following in its pkg-config file:

Cflags: -I${includedir} -D_GNU_SOURCE

As our configure script inherits that, we are building all of the
source with that, and we will get compilation errors about re-defining
something that's already defined...

Change-Id: I36cb3a5555cb35ddc44f06d447268bd9cc0ce9b4
The file was modifiedtests/tdef/tdef_vty_config_root_test.c
The file was modifiedsrc/core/thread.c
The file was modifiedtests/tdef/tdef_vty_config_subnode_test.c
The file was modifiedtests/tdef/tdef_vty_dynamic_test.c
The file was modifiedsrc/core/socket.c
The file was modifiedsrc/vty/cpu_sched_vty.c
The file was modifiedtests/fr/fr_test.c
The file was modifiedsrc/core/exec.c
The file was modifiedtests/logging/logging_vty_test.c