tools: add some glibc-2.25/gentoo fixes
[lede-git/.git] / tools / mtd-utils / patches / 010-gentoo_makedev_fix.patch
1 --- a/include/common.h
2 +++ b/include/common.h
3 @@ -29,6 +29,10 @@
4  #include <inttypes.h>
5  #include "version.h"
6  
7 +#ifdef linux
8 +#include <sys/sysmacros.h>
9 +#endif
10 +
11  #ifndef PROGRAM_NAME
12  # error "You must define PROGRAM_NAME before including this header"
13  #endif