ino_t is a long on 4.2 systems

This commit is contained in:
ceriel 1987-03-10 14:10:34 +00:00
parent 053564d9e9
commit 85d5cf1407
2 changed files with 8 additions and 0 deletions

View file

@ -24,7 +24,11 @@ typedef unsigned long u_long;
typedef struct _physadr { int r[1]; } *physadr;
typedef long daddr_t;
typedef char * caddr_t;
#ifdef __BSD4_2
typedef u_long ino_t;
#else
typedef u_short ino_t;
#endif
typedef long swblk_t;
typedef long size_t;
typedef long time_t;

View file

@ -24,7 +24,11 @@ typedef unsigned long u_long;
typedef struct _physadr { int r[1]; } *physadr;
typedef long daddr_t;
typedef char * caddr_t;
#ifdef __BSD4_2
typedef u_long ino_t;
#else
typedef u_short ino_t;
#endif
typedef long swblk_t;
typedef long size_t;
typedef long time_t;