projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Check some typos
[gnulib.git]
/
tests
/
test-fcntl.c
diff --git
a/tests/test-fcntl.c
b/tests/test-fcntl.c
index
cc95668
..
21f67cf
100644
(file)
--- a/
tests/test-fcntl.c
+++ b/
tests/test-fcntl.c
@@
-26,6
+26,9
@@
int o = O_DIRECT | O_DIRECTORY | O_DSYNC | O_NDELAY | O_NOATIME | O_NONBLOCK
| O_NOCTTY | O_NOFOLLOW | O_NOLINKS | O_RSYNC | O_SYNC
| O_BINARY | O_TEXT;
| O_NOCTTY | O_NOFOLLOW | O_NOLINKS | O_RSYNC | O_SYNC
| O_BINARY | O_TEXT;
+/* Check that the various SEEK_* macros are defined. */
+int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET };
+
int
main ()
{
int
main ()
{