aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-02-16 14:56:54 -0800
committerDavid S. Miller <davem@davemloft.net>2012-02-16 14:56:54 -0800
commitfb59b3a4f54777652dc877a1df0fcc009b741d87 (patch)
treec9fee62362a0cc4ae0d922b8f53b5863a00fd0cd /sysdeps
parentaf1dd5d680f6c454382771334de2c05456418f49 (diff)
downloadglibc-fb59b3a4f54777652dc877a1df0fcc009b741d87.tar
glibc-fb59b3a4f54777652dc877a1df0fcc009b741d87.tar.gz
glibc-fb59b3a4f54777652dc877a1df0fcc009b741d87.tar.bz2
glibc-fb59b3a4f54777652dc877a1df0fcc009b741d87.zip
Add O_FSYNC define to sparc just like other platforms.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
index 7f6c8cd5ba..7ce09da56c 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
@@ -39,6 +39,7 @@
#define O_TRUNC 0x0400 /* not fcntl */
#define O_EXCL 0x0800 /* not fcntl */
#define O_SYNC 0x802000
+#define O_FSYNC O_SYNC
#define O_NONBLOCK 0x4000
#define O_NDELAY (0x0004 | O_NONBLOCK)
#define O_NOCTTY 0x8000 /* not fcntl */