Ensure that <unistd.h> and <fcntl.h> define SEEK_CUR etc.
[gnulib.git] / tests / test-stdio.c
index 3f97c9d..96ea59a 100644 (file)
@@ -21,6 +21,9 @@
 
 #include <stdio.h>
 
+/* Check that the various SEEK_* macros are defined.  */
+int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET };
+
 int
 main ()
 {