Kopete - avdevice: Use standard integer types instead of Linux specific

This resolves FTBFS on FreeBSD

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 8 years ago
parent 182234c826
commit 46042bc67e

@ -27,14 +27,10 @@
#if defined(__linux__) #if defined(__linux__)
#include <asm/types.h> #include <asm/types.h>
#endif #endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#undef __STRICT_ANSI__ #undef __STRICT_ANSI__
#ifndef __u64 //required by videodev.h
#define __u64 unsigned long long
#endif // __u64
#ifndef __s64 //required by videodev.h
#define __s64 long long
#endif // __s64
#include <tqstring.h> #include <tqstring.h>
#include <kdebug.h> #include <kdebug.h>
@ -71,14 +67,14 @@ public:
~VideoControl(); ~VideoControl();
protected: protected:
__u32 m_id; uint32_t m_id;
control_type m_type; control_type m_type;
TQString m_name; TQString m_name;
__s32 m_minimum; int32_t m_minimum;
__s32 m_maximum; int32_t m_maximum;
__s32 m_step; int32_t m_step;
__s32 m_default; int32_t m_default;
__u32 m_flags; uint32_t m_flags;
}; };
} }

Loading…
Cancel
Save