about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/bits/fcntl.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ace7517da8..a3ee00862c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
+
+	* sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
+	O_LARGEFILE back.
+
 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
 
 	* time/mktime.c: Some systems require <unistd.h> to be
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl.h b/sysdeps/unix/sysv/linux/bits/fcntl.h
index 42ad79f6ab..35881d8ef3 100644
--- a/sysdeps/unix/sysv/linux/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/bits/fcntl.h
@@ -45,6 +45,11 @@
 # define O_DIRECTORY	040000	/* Must be a directory.  */
 #endif
 
+/* XXX missing */
+#ifdef __USE_LARGEFILE64
+# define O_LARGEFILE	0
+#endif
+
 /* For now Linux has synchronisity options for data and read operations.
    We define the symbols here but let them do the same as O_SYNC since
    this is a superset.  */