Subject: stdio.h, types.h off_t and __off_t and ...
To: None <>
From: Anthony Mallet <>
List: current-users
Date: 12/30/2000 19:32:37
Hi all,
I was wondering if there was something magic to do to get rid of this (I
guess this is a well known problem but I didn't find anything in the
mailing lists archives):
(-current tree updated a couple of hour ago)

includes ===> lib/libvers
cc -O -I/amd/crocus/local2/netbsd-current/lib/libvers/../../include/heimdal -DHAVE_CONFIG_H -c -o make-print-version.lo /amd/crocus/local2/netbsd-current/lib/libvers/../../crypto/dist/heimdal/lib/vers/make-print-version.c
In file included from /amd/crocus/local2/netbsd-current/lib/libvers/../../include/heimdal/config.h:1202,
                 from /amd/crocus/local2/netbsd-current/lib/libvers/../../crypto/dist/heimdal/lib/vers/make-print-version.c:35:
/usr/include/sys/types.h:87: syntax error before `mode_t'
/usr/include/sys/types.h:94: syntax error before `off_t'
/usr/include/sys/types.h:99: syntax error before `pid_t'
In file included from /amd/crocus/local2/netbsd-current/lib/libvers/../../crypto/dist/heimdal/lib/vers/make-print-version.c:39:
/usr/include/stdio.h:63: syntax error before `fpos_t'
/usr/include/stdio.h:63: warning: data definition has no type or storage class

If I use the stdio.h and sys/types.h files of the 1.5 branch everything
works well. The problem seems to come from the commit that was supposed to
get rid of "sys/types.h" inclusion in stdio.h (that is revision 1.33 of

The problem does not come from libvers: everything that includes stdio.h
seems to fail to compile.