From a794b2e8c15f66e96ba1bc73391a748f3b67e4f4 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 5 Jun 2023 17:24:49 +0200 Subject: [PATCH] Undeffing unix. GCC defines, for historic reasons, unix as a numeric constant. https://gcc.gnu.org/onlinedocs/cpp/System-specific-Predefined-Macros.html --- nest/bird.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nest/bird.h b/nest/bird.h index 55712abe8..272e4f7fd 100644 --- a/nest/bird.h +++ b/nest/bird.h @@ -9,6 +9,8 @@ #ifndef _BIRD_BIRD_H_ #define _BIRD_BIRD_H_ +#undef unix /* An unneeded ancient C quirk */ + #include "sysdep/config.h" #include "lib/birdlib.h" #include "lib/ip.h" -- 2.47.2