Skip to contentSkip to conversation

/usr/include/statfsbuf.h - undefined __fsid_t

DISCUSSION Florian Lohoff 2 participants 2 messages Apr 24, 2000 – Apr 25, 2000 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,
might this be a problem in the current glibc headers ?

__fsid_t doesnt seem to be defined there ...

In file included from /usr/include/sys/statfs.h:26,

                 from /usr/include/sys/vfs.h:4,
                 from unix/getfree.c:18:

/usr/include/statfsbuf.h:34: parse error before __fsid_t' /usr/include/statfsbuf.h:34: warning: no semicolon at end of struct or union /usr/include/statfsbuf.h:37: parse error before }'

Flo

Signature · 3 lines
Florian Lohoff		[email protected]		      	+49-subject-2-change
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."
#1 lore raw
Quoted 10 lines · Florian Lohoff

might this be a problem in the current glibc headers ?

__fsid_t doesnt seem to be defined there ...

In file included from /usr/include/sys/statfs.h:26,

                 from /usr/include/sys/vfs.h:4,
                 from unix/getfree.c:18:

/usr/include/statfsbuf.h:34: parse error before __fsid_t' /usr/include/statfsbuf.h:34: warning: no semicolon at end of struct or union /usr/include/statfsbuf.h:37: parse error before }'

Yes, <statfsbuf.h> should include <gnu/types.h>. Fixing ...

Ralf