Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/multimedia/dvb-apps/files/patch-include_dmx.h
16462 views
1
--- include/dmx.h.orig 2014-03-21 19:26:36 UTC
2
+++ include/dmx.h
3
@@ -24,7 +24,15 @@
4
#ifndef _DVBDMX_H_
5
#define _DVBDMX_H_
6
7
-#include <asm/types.h>
8
+#ifdef __FreeBSD__
9
+#define __u8 uint8_t
10
+#define __u16 uint16_t
11
+#define __u32 uint32_t
12
+#define __u64 uint64_t
13
+#define __s16 int16_t
14
+#define __s32 int32_t
15
+#endif
16
+
17
#ifdef __KERNEL__
18
#include <linux/time.h>
19
#else
20
21