Fix redefinition of uint and ushort to make it build on bento again.

This commit is contained in:
Dirk Froemberg 2002-09-19 08:33:17 +00:00
parent a56e4c2b26
commit 4e32857159
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66689
3 changed files with 33 additions and 0 deletions

View 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"

View 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"

View 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__ */