From 77b4430bd5ed540a8b3b68c814920abe5621b66d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 21 Mar 2019 11:55:46 +0100 Subject: s3:waf: Fix the detection of makdev() macro on Linux BUG: https://bugzilla.samba.org/show_bug.cgi?id=13853 Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison (cherry picked from commit eace58b539a382c61edd7c2be6fdfab31114719f) Autobuild-User(v4-8-test): Karolin Seeger Autobuild-Date(v4-8-test): Thu Mar 28 17:42:25 UTC 2019 on sn-devel-144 --- source3/wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source3/wscript b/source3/wscript index 799ee08dbb5..a32899d89cd 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1232,6 +1232,9 @@ main() { #include #endif #include +#if defined(HAVE_SYS_SYSMACROS_H) +#include +#endif main() { dev_t dev = makedev(1,2); return 0; } ''', 'HAVE_MAKEDEV', -- cgit v1.2.1