$NetBSD: patch-an,v 1.11 2007/10/20 10:40:23 markd Exp $ --- kopete/libkopete/avdevice/videocontrol.h.orig 2007-10-08 22:49:07.000000000 +1300 +++ kopete/libkopete/avdevice/videocontrol.h @@ -20,6 +20,7 @@ #ifndef KOPETE_AVVIDEOCONTROL_H #define KOPETE_AVVIDEOCONTROL_H +#ifdef __linux__ #include #undef __STRICT_ANSI__ #ifndef __u64 //required by videodev.h @@ -30,6 +31,14 @@ #define __s64 long long #endif // __s64 +#else +#include +#define __u32 uint32_t +#define __s32 int32_t +#define __u64 uint64_t +#define __s64 int64_t +#endif + #include #include #include