commit | 1a74985b2a404639b08882c57f3147229605dfd5 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Tue Apr 19 06:50:31 2016 -0400 |
committer | Gene Cumm <gene.cumm@gmail.com> | Sat Apr 23 21:14:06 2016 -0400 |
tree | ac91fc1963bca7466a4e99256ea178a7b22ce087 | |
parent | a615768ccafaffc444a808bffc0479ab7dc9efee [diff] |
extlinux: pull in sys/sysmacros.h for major/minor/makedev These functions are defined in sys/sysmacros.h, so add the include to main.c. This is already handled correctly in mountinfo.c. Otherwise we get build failures like: main.o: In function 'find_device_sysfs': extlinux/main.c:1131: undefined reference to 'minor' Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>