changeset 8584:4d6fd426d412

Make it compile on AIX.
author Bruno Haible <bruno@clisp.org>
date Thu, 29 Mar 2007 23:01:29 +0000
parents 651c62bbc302
children 0290e58a0863
files ChangeLog tests/test-stat-time.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-29  Bruno Haible  <bruno@clisp.org>
+
+	* tests/test-stat-time.c: Include <fcntl.h>, not <sys/fcntl.h>.
+
 2007-03-29  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* lib/acl-internal.h (acl_get_fd, acl_set_fd): undef before defining,
--- a/tests/test-stat-time.c
+++ b/tests/test-stat-time.c
@@ -21,11 +21,11 @@
 
 #include "stat-time.h"
 
+#include <fcntl.h>
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/stat.h>
-#include <sys/fcntl.h>
 #include <unistd.h>
 
 #define ASSERT(condition) if (!(condition)) abort ()