From cdf998a056b894a2674772d6c86f8016fec4df88 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 14 Dec 2015 00:44:47 +0100 Subject: [PATCH] Turn inert when using LIBBSD_OVERLAY Also print a warning stating this fact. --- include/bsd/bsd.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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