]> granicus.if.org Git - strace/blobdiff - print_struct_stat.c
Update NEWS
[strace] / print_struct_stat.c
index fd902dc6e98145cc10431ea27447eec6b5ce0e11..7b23ec8a8bcda7b35134b4366d810f057c868013 100644 (file)
 
 #include "defs.h"
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 #include "stat.h"
-#if defined MAJOR_IN_SYSMACROS
-# include <sys/sysmacros.h>
-#elif defined MAJOR_IN_MKDEV
-# include <sys/mkdev.h>
-#endif
 
 void
 print_struct_stat(struct tcb *tcp, const struct strace_stat *const st)