]> git.proxmox.com Git - mirror_smartmontools-debian.git/blob - debian/patches/kfreebsd.patch
585169da96ccb8661683db3756cd2c8a076e7693
[mirror_smartmontools-debian.git] / debian / patches / kfreebsd.patch
1 --- a/cciss.cpp
2 +++ b/cciss.cpp
3 @@ -24,6 +24,10 @@
4 # define _HAVE_CCISS
5 #elif defined(__FreeBSD_kernel__)
6 # include <endian.h>
7 +# ifdef __GLIBC__
8 +# include <bsd/sys/cdefs.h>
9 +# include <stdint.h>
10 +# endif
11 # include CISS_LOCATION
12 # define _HAVE_CCISS
13 #endif