summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-11-02 09:11:18 +0100
committerJim Meyering <meyering@redhat.com>2011-11-02 09:12:32 +0100
commitba4b05c94cc5a2bb306dd5e059a7bf38585311f7 (patch)
tree797459afb183a332dddb3583f5efb484e6b58b9e
parente6ac01c7a18ef57d3c646ed747e96b15f71855f5 (diff)
downloadcoreutils-ba4b05c94cc5a2bb306dd5e059a7bf38585311f7.tar.xz
stat: avoid compilation failure with gnulib's new alignof
* src/stat.c: Include <stdalign.h>, not "alignof.h" for alignof use.
-rw-r--r--src/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c
index 120365137..4e5dbcef7 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -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"