]> Savannah Git Hosting - gnulib.git/commitdiff
sys_socket: use stdalign, not alignof
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Oct 2011 00:19:18 +0000 (17:19 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Oct 2011 20:05:43 +0000 (13:05 -0700)
* lib/sys_socket.in.h: Include <stdalign.h> instead of <alignof.h>.
* modules/sys_socket (Depends-on): Depend on stdalign, not alignof.

ChangeLog
lib/sys_socket.in.h
modules/sys_socket

index b8fcdcca499ac1ceee98bfea232b318d10dbce1d..e862b7a415a0ec1cfba47b6ef090a3ab88221a20 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * modules/crypto/md5, modules/crypto/sha1, modules/crypto/sha256:
        * modules/crypto/sha512: Likewise.
 
+       sys_socket: use stdalign, not alignof
+       * lib/sys_socket.in.h: Include <stdalign.h> instead of <alignof.h>.
+       * modules/sys_socket (Depends-on): Depend on stdalign, not alignof.
+
 2011-10-27  Bruno Haible  <bruno@clisp.org>
 
        raise test: Avoid a test failure on Linux/MIPS.
index c42497d049ddf82e44f4b0e0df830f0b0dc080d2..107c180a1d257920b0a9208b26c57b083aeff83e 100644 (file)
@@ -85,7 +85,7 @@ typedef unsigned short  sa_family_t;
 #  endif
 # endif
 #else
-# include <alignof.h>
+# include <stdalign.h>
 /* Code taken from glibc sysdeps/unix/sysv/linux/bits/socket.h on
    2009-05-08, licensed under LGPLv2.1+, plus portability fixes. */
 # define __ss_aligntype unsigned long int
index 82c6909ac9c4391a6d1746f5ee991eea6f0c2a55..704f2a5111de34ab8cb16b78b155e60ac87f4478 100644 (file)
@@ -7,7 +7,6 @@ m4/sys_socket_h.m4
 m4/sockpfaf.m4
 
 Depends-on:
-alignof
 errno
 include_next
 snippet/arg-nonnull
@@ -15,6 +14,7 @@ snippet/c++defs
 snippet/warn-on-use
 socklen
 ssize_t
+stdalign
 sys_uio
 
 configure.ac: