summaryrefslogtreecommitdiff
path: root/x11-fm/endeavour/files/patch-ad
blob: 9867669040f779e17f688c8177c3353e0c030bb1 (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
26
27
28
29
30
--- endeavour.h.orig	Thu Oct  7 01:19:46 1999
+++ endeavour.h	Thu Oct  7 13:52:49 1999
@@ -9,17 +9,16 @@
 
 
 
+#include <sys/types.h>
 #include <stdio.h>
 #include <errno.h>
 extern int errno;
 #include <unistd.h>
 #include <stdlib.h>
-#include <malloc.h>
 #include <string.h>
 #include <time.h>
 extern char *tzname[2];
 #include <signal.h>
-#include <asm/types.h>
 
 #ifdef USE_IMLIB
 	#include "../include/Imlibosw.h"
@@ -475,7 +474,7 @@
 
 	/* Stats. */
         ino_t inode;        /* Inode. */
-        umode_t mode;       /* Mode/permissions/type. */
+        unsigned short mode;       /* Mode/permissions/type. */
  
         nlink_t nlink;      /* Number of hard links. */
         uid_t uid;          /* User ID of owner */