Commit 88d43000 authored by Jarod Wilson's avatar Jarod Wilson Committed by Greg Kroah-Hartman

staging: crystalhd: add missing fixes for userspace lib build

I somehow managed to not actually include these two fixes in the submission
that was committed to the staging tree. libcrystalhd should eventually be
built against the kernel-provided header, and needs the stdint.h include. The
VOID bit is to keep things in sync with the Mac OS X driver and library that
Scott Davilla is also working on.
Signed-off-by: default avatarScott Davilla <davilla@4pi.com>
Signed-off-by: default avatarJarod Wilson <jarod@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8a8e2975
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
#ifndef _BC_DTS_TYPES_H_ #ifndef _BC_DTS_TYPES_H_
#define _BC_DTS_TYPES_H_ #define _BC_DTS_TYPES_H_
#ifdef __LINUX_USER__ // Don't include these for KERNEL..
#include <stdint.h>
#endif
#if defined(_WIN64) || defined(_WIN32) #if defined(_WIN64) || defined(_WIN32)
typedef uint32_t U32; typedef uint32_t U32;
typedef int32_t S32; typedef int32_t S32;
...@@ -62,7 +66,9 @@ typedef int BOOL; ...@@ -62,7 +66,9 @@ typedef int BOOL;
typedef uint32_t ULONG; typedef uint32_t ULONG;
typedef int32_t LONG; typedef int32_t LONG;
typedef void *HANDLE; typedef void *HANDLE;
#ifndef VOID
typedef void VOID; typedef void VOID;
#endif
typedef void *LPVOID; typedef void *LPVOID;
typedef uint32_t DWORD; typedef uint32_t DWORD;
typedef uint32_t UINT32; typedef uint32_t UINT32;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment