| 1 | --- a/src/include/linux/ifxos_linux_common.h |
| 2 | +++ b/src/include/linux/ifxos_linux_common.h |
| 3 | @@ -73,7 +73,7 @@ |
| 4 | # define __BYTE_ORDER __BIG_ENDIAN |
| 5 | /** set the common IFXOS byte order for BIG endian */ |
| 6 | # define IFXOS_BYTE_ORDER IFXOS_BIG_ENDIAN |
| 7 | -#elif |
| 8 | +#else |
| 9 | # error "missing endian definiton" |
| 10 | #endif |
| 11 | |
| 12 | --- a/src/linux/ifxos_linux_thread_drv.c |
| 13 | +++ b/src/linux/ifxos_linux_thread_drv.c |
| 14 | @@ -34,7 +34,9 @@ |
| 15 | #include <linux/sched.h> |
| 16 | #include <linux/version.h> |
| 17 | #include <linux/completion.h> |
| 18 | +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) |
| 19 | #include <linux/smp_lock.h> |
| 20 | +#endif |
| 21 | #include <linux/signal.h> |
| 22 | |
| 23 | |
| 24 | |