summaryrefslogtreecommitdiff
path: root/user/plib/fix-openflight.patch
blob: 7c69c1cd13cfa6253ba439daef81f343870fc8a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- plib-1.8.5/src/ssg/ssgLoadFLT.cxx.old	2008-03-11 02:06:23.000000000 +0000
+++ plib-1.8.5/src/ssg/ssgLoadFLT.cxx	2018-10-23 22:02:06.650000000 +0000
@@ -103,9 +103,7 @@
 #include <string.h>
 #include <fcntl.h>
 #include <stdio.h>
-#ifdef UL_IRIX
-# include <sys/endian.h>
-#endif
+#include <endian.h>
 #ifdef USE_POSIX_MMAP
 # include <time.h>
 # include <sys/time.h>   /* Need both for Mandrake 8.0 !! */
@@ -141,11 +139,8 @@
 #define template _template /* trams */
 
 typedef unsigned char ubyte;
-
-#ifdef UL_WIN32
 typedef unsigned short ushort;
 typedef unsigned int uint;
-#endif
 
 // 525 = negative identation, 539= did not expect positive identation
 //lint -save -e525 -e539