From: Maria Matejka Date: Mon, 5 Jun 2023 15:24:49 +0000 (+0200) Subject: Undeffing unix. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a794b2e8c15f66e96ba1bc73391a748f3b67e4f4;p=thirdparty%2Fbird.git Undeffing unix. GCC defines, for historic reasons, unix as a numeric constant. https://gcc.gnu.org/onlinedocs/cpp/System-specific-Predefined-Macros.html --- 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"