coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] stat: avoid compilation failure with gnulib's new alignof


From: Jim Meyering
Subject: [PATCH] stat: avoid compilation failure with gnulib's new alignof
Date: Wed, 02 Nov 2011 09:26:26 +0100

I noticed a compilation failure.
This fixed it:

>From ba4b05c94cc5a2bb306dd5e059a7bf38585311f7 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 2 Nov 2011 09:11:18 +0100
Subject: [PATCH] stat: avoid compilation failure with gnulib's new
 alignof

* src/stat.c: Include <stdalign.h>, not "alignof.h" for alignof use.
---
 src/stat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/stat.c b/src/stat.c
index 1203651..4e5dbce 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"
--
1.7.8.rc0.32.g87bf9



reply via email to

[Prev in Thread] Current Thread [Next in Thread]