]>
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 | |
16 | @@ -466,6 +466,7 @@ protected: | |
17 | private: | |
18 | int m_escalade_type; ///< Type string for escalade_command_interface(). | |
19 | int m_disknum; ///< Disk number. | |
20 | + int m_encnum; ///< Enclosure number. | |
21 | }; | |
22 | ||
23 | freebsd_escalade_device::freebsd_escalade_device(smart_interface * intf, const char * dev_name, |