From: Andrew J. Schorr Date: Fri, 1 Jun 2007 13:21:20 +0000 (+0000) Subject: [linux] Fix strange compilation problem by explicitly including X-Git-Tag: frr-2.0-rc1~2506 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0dc0b7080227df8aca6cc2f7961c3c55cb73c509;p=mirror%2Ffrr.git [linux] Fix strange compilation problem by explicitly including 2007-06-01 Andrew J. Schorr * zebra.h: On linux, we seem to need to include before , otherwise we get isisd compilation errors about __be16 not being defined. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 4360c8332c..3a1d1f6ba0 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,9 @@ +2007-06-01 Andrew J. Schorr + + * zebra.h: On linux, we seem to need to include before + , otherwise we get isisd compilation errors about + __be16 not being defined. + 2007-05-10 Paul Jakma * zebra.h: Don't try define _GNU_SOURCE, autoconf should do it. diff --git a/lib/zebra.h b/lib/zebra.h index 2451dbed5b..2c7edd926a 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -59,6 +59,9 @@ typedef int socklen_t; #include #include #ifdef HAVE_SYS_SYSCTL_H +#ifdef GNU_LINUX +#include +#endif #include #endif /* HAVE_SYS_SYSCTL_H */ #include