Fix redefinition of uint and ushort to make it build on bento again.
This commit is contained in:
parent
a56e4c2b26
commit
4e32857159
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66689
10
audio/bladeenc/files/patch-bladeenc_main.c
Normal file
10
audio/bladeenc/files/patch-bladeenc_main.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- bladeenc/main.c.orig Tue May 8 14:11:53 2001
|
||||
+++ bladeenc/main.c Thu Sep 19 10:27:19 2002
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "common.h"
|
10
audio/bladeenc/files/patch-bladeenc_samplein.c
Normal file
10
audio/bladeenc/files/patch-bladeenc_samplein.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- bladeenc/samplein.c.orig Tue May 8 14:11:53 2001
|
||||
+++ bladeenc/samplein.c Thu Sep 19 10:25:54 2002
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "samplein.h"
|
13
audio/bladeenc/files/patch-bladeenc_system.h
Normal file
13
audio/bladeenc/files/patch-bladeenc_system.h
Normal file
@ -0,0 +1,13 @@
|
||||
--- bladeenc/system.h.orig Tue May 8 14:11:53 2001
|
||||
+++ bladeenc/system.h Thu Sep 19 10:25:02 2002
|
||||
@@ -321,10 +321,4 @@
|
||||
|
||||
typedef unsigned char uchar;
|
||||
|
||||
-#if (defined(UNIX_SYSTEM) && !defined(SYS_TYPES_H) && !defined(_SYS_TYPES_H)) || (!defined UNIX_SYSTEM && !defined(__GNUC__))
|
||||
- typedef unsigned short ushort;
|
||||
- typedef unsigned int uint;
|
||||
-#endif
|
||||
-
|
||||
-
|
||||
#endif /* __SYSTEM__ */
|
Loading…
Reference in New Issue
Block a user