]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat: avoid compilation failure with gnulib's new alignof
authorJim Meyering <meyering@redhat.com>
Wed, 2 Nov 2011 08:11:18 +0000 (09:11 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 2 Nov 2011 08:12:32 +0000 (09:12 +0100)
* src/stat.c: Include <stdalign.h>, not "alignof.h" for alignof use.

src/stat.c

index 120365137e9846941b3abf8e974f769df3062c5b..4e5dbcef7c5893c23cc9ca763e9bacdc2cd99065 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <stddef.h>
 #include <stdio.h>
+#include <stdalign.h>
 #include <sys/types.h>
 #include <pwd.h>
 #include <grp.h>
@@ -57,7 +58,6 @@
 
 #include "system.h"
 
-#include "alignof.h"
 #include "areadlink.h"
 #include "error.h"
 #include "file-type.h"