--- lineak/cdromctrl.cpp.orig Fri May 26 14:34:03 2006 +++ lineak/cdromctrl.cpp Fri May 26 14:39:48 2006 @@ -21,7 +21,7 @@ extern "C" { #include #include -#if defined (__FreeBSD_kernel__) || defined(__FreeBSD_kernel__) +#if defined (__FreeBSD__) || defined(__FreeBSD__) # include # define CDROMEJECT CDIOCEJECT /*_IO('c', 107)*/ # define CDROMCLOSETRAY CDIOCCLOSE @@ -37,6 +37,7 @@ # include # include # include +# include #endif #if defined (__CYGWIN__) # include @@ -47,7 +48,6 @@ #include #include -#include #include #include