Add files from parent branch HEAD:
[pkgsrcv2.git] / net / kdenetwork3 / patches / patch-an
1 $NetBSD$
2
3 --- kopete/libkopete/avdevice/videocontrol.h.orig       2007-10-08 22:49:07.000000000 +1300
4 +++ kopete/libkopete/avdevice/videocontrol.h
5 @@ -20,6 +20,7 @@
6  #ifndef KOPETE_AVVIDEOCONTROL_H
7  #define KOPETE_AVVIDEOCONTROL_H
8  
9 +#ifdef __linux__
10  #include <asm/types.h>
11  #undef __STRICT_ANSI__
12  #ifndef __u64 //required by videodev.h
13 @@ -30,6 +31,14 @@
14  #define __s64 long long
15  #endif // __s64
16  
17 +#else
18 +#include <sys/types.h>
19 +#define __u32 uint32_t
20 +#define __s32 int32_t
21 +#define __u64 uint64_t
22 +#define __s64 int64_t
23 +#endif
24 +
25  #include <qstring.h>
26  #include <kdebug.h>
27  #include <qvaluevector.h>