summaryrefslogtreecommitdiff
path: root/libdiskfs/file-exec.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-07-09 18:59:45 +0000
committerThomas Bushnell <thomas@gnu.org>1997-07-09 18:59:45 +0000
commit32809d801f41b98f3455af5f91790257d8b38222 (patch)
treebfc4c6300229faa79cfb51824343916af06b4b85 /libdiskfs/file-exec.c
parentabf8316de7f2050585ffa00848dd803775f2ea54 (diff)
Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* file-exec.c: Include <fcntl.h> instead of <fcntlbits.h>. Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h (diskfs_hard_readonly): New variable. (diskfs_readonly): Doc change. * readonly.c (diskfs_readonly): Provide initialized declaration. (diskfs_check_readonly): If we cannot write the media and so we switch to readonly, set diskfs_hard_readonly too. (diskfs_set_readonly): If diskfs_hard_readonly is set, then inhibit any attempt to clear readonly status.
Diffstat (limited to 'libdiskfs/file-exec.c')
-rw-r--r--libdiskfs/file-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c
index 1482f1b0..f332e700 100644
--- a/libdiskfs/file-exec.c
+++ b/libdiskfs/file-exec.c
@@ -22,7 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
#include "fs_S.h"
#include <sys/stat.h>
-#include <fcntlbits.h>
+#include <fcntl.h>
#include <hurd/exec.h>
#include <hurd/paths.h>
#include <string.h>