From: Andreas Schneider Date: Thu, 5 Jan 2017 08:34:36 +0000 (+0100) Subject: replace: Include sysmacros.h X-Git-Tag: samba-4.4.11~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=213759fb65881280cb467d96eb7289e4b55ee07e;p=thirdparty%2Fsamba.git replace: Include sysmacros.h In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but it is planned to remove this soon. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12686 Signed-off-by: Andreas Schneider Reviewed-by: Volker Lendecke (cherry picked from commit 0127bdd33b251a52c6ffc44b6cb3b82b16a80741) --- diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 7080373342a..926b3533bc8 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -171,6 +171,10 @@ #include #endif +#ifdef HAVE_SYS_SYSMACROS_H +#include +#endif + #ifdef HAVE_SETPROCTITLE_H #include #endif