From 0127bdd33b251a52c6ffc44b6cb3b82b16a80741 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 5 Jan 2017 09:34:36 +0100 Subject: [PATCH] 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. Signed-off-by: Andreas Schneider Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Sun Jan 8 22:30:03 CET 2017 on sn-devel-144 --- lib/replace/replace.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/replace/replace.h b/lib/replace/replace.h index c69a069e4b3..1dbeacfff66 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 -- 2.47.2