]>
Commit | Line | Data |
---|---|---|
16216c85 GI |
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 | |
743e0f41 GI |
14 | --- a/os_freebsd.cpp |
15 | +++ b/os_freebsd.cpp | |
f10872dc GI |
16 | @@ -1096,6 +1096,7 @@ protected: |
17 | ||
743e0f41 | 18 | private: |
743e0f41 GI |
19 | int m_disknum; ///< Disk number. |
20 | + int m_encnum; ///< Enclosure number. | |
21 | }; | |
22 | ||
f10872dc | 23 |