the main hdparm.c file pulls in sys/sysmacros.h already for major/minor funcs, but geom.c & sysfs.c are missing it
+1
as a package mantainer of hdparm in fedora, I can say that this patch is necessary to compile hdparm on the latest fedora.
I found that out independetly of Mike and patched it in our scm repository:
https://src.fedoraproject.org/rpms/hdparm/blob/61c0e0c6e57f04a4b8e87a84a81814c73fe9772d/f/hdparm-9.54-sysmacros.patch
This will be included in hdparm-9.55.
Log in to post a comment.
+1
as a package mantainer of hdparm in fedora, I can say that this patch is necessary to compile hdparm on the latest fedora.
I found that out independetly of Mike and patched it in our scm repository:
https://src.fedoraproject.org/rpms/hdparm/blob/61c0e0c6e57f04a4b8e87a84a81814c73fe9772d/f/hdparm-9.54-sysmacros.patch
Last edit: Michal Minar 2018-03-15
This will be included in hdparm-9.55.