
|
[openbeos]
||
[Date Prev]
[01-2005 Date Index]
[Date Next]
||
[Thread Prev]
[01-2005 Thread Index]
[Thread Next]
[openbeos] fs_volume.h vs unistd.h
- From: "François Revol" <revol@xxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Mon, 03 Jan 2005 22:22:55 +0100 CET
Hi,
I fixed things in dosfs, but I had a little problem when compiling it
in R5 without our headers (just copied out the dosfs folder in a
hurry...)
NathanW added:
--- src/add-ons/kernel/file_systems/dos/dosfs.c 21 Mar 2003 21:11:36 -
0000 1.3
+++ src/add-ons/kernel/file_systems/dos/dosfs.c 17 Nov 2004 04:34:56 -
0000 1.4
+#include <fs_volume.h>
Which isn't an R5 header.
I commented that line out and it compiled.
I suppose it used it for the mount flags.
That brings up an interesting problem.
Where are those in unistd.h ?
The mount flags are supposed to be visible from there, at least
B_MOUNT_READ_ONLY as defined by R5.
So do I #include fs_volume.h in unistd (including OS.h too ?)
or dup the define ?
or move them to unistd.h and /* see unistd.h for flags */ ?
François.
|

|