From: Guillem Jover Date: Sun, 13 Dec 2015 23:44:47 +0000 (+0100) Subject: Turn inert when using LIBBSD_OVERLAY X-Git-Tag: 0.8.1~3 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=cdf998a056b894a2674772d6c86f8016fec4df88;p=thirdparty%2Flibbsd.git Turn inert when using LIBBSD_OVERLAY Also print a warning stating this fact. --- diff --git a/include/bsd/bsd.h b/include/bsd/bsd.h index c246a91..a4a033e 100644 --- a/include/bsd/bsd.h +++ b/include/bsd/bsd.h @@ -27,10 +27,12 @@ #ifndef LIBBSD_H #define LIBBSD_H +#ifdef LIBBSD_OVERLAY +#warning "This header is meant to be used w/o the libbsd overlay." +#else /* * Include all bsd compat headers. */ - #include #include #include @@ -40,5 +42,6 @@ #include #include #include +#endif #endif