--- ../picturebook.old/capture.h Mon Dec 25 19:01:43 2000 +++ capture.h Mon Dec 25 19:03:17 2000 @@ -21,15 +21,28 @@ #include #include #include +#ifdef LINUX #include +#endif #include #include #include +#ifdef LINUX #include +#endif #include #include +#ifdef HAVE_GETOPT_H #include +#endif +#ifdef LINUX #include +#else ifdef __FreeBSD__ +#include +#include "pci.h" /*This is taken from Linux kernel*/ +#define O_SYNC O_FSYNC +#include +#endif #include #include "mchip.h"