]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Define _XOPEN_SOURCE to be 500 to fix compilation problems on Solaris.
authorTheodore Ts'o <tytso@mit.edu>
Fri, 4 Feb 2005 01:38:52 +0000 (20:38 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 4 Feb 2005 01:38:52 +0000 (20:38 -0500)
debugfs/ChangeLog
debugfs/set_fields.c
misc/ChangeLog
misc/tune2fs.c

index d24f62c984a859cb5d35c5841deee0713b2a35fc..0908d80f7ae38bd8c35c06a25df793cef75e4feb 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-03  Theodore Ts'o  <tytso@mit.edu>
+
+       * set_fields.c: Define _XOPEN_SOURCE to be 500 to fix compilation
+               problems on Solaris.
+
 2005-01-20  Theodore Ts'o  <tytso@mit.edu>
 
        * set_fields.c: Add support for the jnl_blocks[] for set_super_value
index 5c0cf50c62ee3318019b2234723044184fb1d75e..35ddba90ddd20417aea36f12efe99f50a00dc563 100644 (file)
@@ -9,11 +9,7 @@
  * %End-Header%
  */
 
-#ifndef __sun__
-       /* Solaris for some strange reason drops struct
-          timeval if _XOPEN_SOURCE defined */
-#define _XOPEN_SOURCE /* glibc2 needs this for strptime */
-#endif
+#define _XOPEN_SOURCE 500 /* for inclusion of strptime() */
 
 #include <stdio.h>
 #include <unistd.h>
index 8fcbf5d1a469281cd7eb60b6e21eb2ce566b3804..46ba04d670f0418c91fae874c1c1de99c24cfe94 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-03  Theodore Ts'o  <tytso@mit.edu>
+
+       * tune2fs.c: Define _XOPEN_SOURCE to be 500 to fix compilation
+               problems on Solaris.
+
 2005-01-28  Theodore Ts'o  <tytso@mit.edu>
 
        * mke2fs.c (main): Only call create_resize_inode if the resize
index 73ca95b01bfcdb97d36e52d96b345d26185841a8..e0d7dd6775162efbf97ce46f546f07f22be8d3f6 100644 (file)
  * 94/03/06    - Added the checks interval from Uwe Ohse (uwe@tirka.gun.de)
  */
 
-#ifndef __sun__
-       /* Solaris for a strange reason drops struct 
-          timeval if _XOPEN_SOURCE defined */
-#define _XOPEN_SOURCE /* for inclusion of strptime() */
-#endif
+#define _XOPEN_SOURCE 500 /* for inclusion of strptime() */
 #define _BSD_SOURCE /* for inclusion of strcasecmp() */
 #include <fcntl.h>
 #include <grp.h>