From 85d5cf140771060c9c4c1eb017095d8be35691a9 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 10 Mar 1987 14:10:34 +0000 Subject: [PATCH] ino_t is a long on 4.2 systems --- include/_tail_cc/sys/types.h | 4 ++++ include/_tail_mon/sys/types.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/_tail_cc/sys/types.h b/include/_tail_cc/sys/types.h index c0d2c0986..02a4a93ab 100644 --- a/include/_tail_cc/sys/types.h +++ b/include/_tail_cc/sys/types.h @@ -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; diff --git a/include/_tail_mon/sys/types.h b/include/_tail_mon/sys/types.h index c0d2c0986..02a4a93ab 100644 --- a/include/_tail_mon/sys/types.h +++ b/include/_tail_mon/sys/types.h @@ -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;