diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-07-08 10:41:43 -0700 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-07-13 19:38:28 +0100 |
commit | dfed5e18f35e1a3b5d5b31ee11ada55a0d80abe1 (patch) | |
tree | 502ebdfce505fbcec5b8e3d3b6b51026bc2c7ac7 /linux/mga_state.c | |
parent | fc8c3e23fb990efd620ef9d9bf3b91686aecc934 (diff) |
include <sys/types.h> & <sys/mkdev.h> directly for major() and minor()
Linux seems to pick these up via another header, but Solaris needs them
explicitly included, or we get undefined symbol errors for major & minor.
v2: use headers documented in makedev(3C) man page instead of sysmacros.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
v3 [Emil Velikov]: include sys/mkdev.h only when available.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'linux/mga_state.c')
0 files changed, 0 insertions, 0 deletions