From: Guillem Jover Date: Sat, 12 Dec 2015 13:27:12 +0000 (+0100) Subject: Use the non-overlayed libbsd headers when we need our own definitions X-Git-Tag: 0.8.1~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=48ac79b1883981f5135b5b9c76ca268e6cbe65b2;p=thirdparty%2Flibbsd.git Use the non-overlayed libbsd headers when we need our own definitions --- diff --git a/include/bsd/err.h b/include/bsd/err.h index b465c1b..12fd051 100644 --- a/include/bsd/err.h +++ b/include/bsd/err.h @@ -34,7 +34,11 @@ #ifndef LIBBSD_ERR_H #define LIBBSD_ERR_H +#ifdef LIBBSD_OVERLAY #include +#else +#include +#endif #include diff --git a/include/bsd/unistd.h b/include/bsd/unistd.h index 78a4525..1f9c5f8 100644 --- a/include/bsd/unistd.h +++ b/include/bsd/unistd.h @@ -34,7 +34,11 @@ #ifndef LIBBSD_UNISTD_H #define LIBBSD_UNISTD_H +#ifdef LIBBSD_OVERLAY #include +#else +#include +#endif #include #ifndef S_ISTXT