CC       alloc.o
alloc.c:1137:1: error: static declaration of ‘aligned_alloc’ follows non-static declaration
In file included from alloc.c:31:0:
lisp.h:3780:14: note: previous declaration of ‘aligned_alloc’ was here
make[2]: *** [alloc.o] Error 1

$ uname -a
Linux jyates-deb7-64 3.10-0.bpo.tmw5-amd64 #1 SMP Debian 3.10.40-0~bpo70+1.tmw5 (2014-05-14) x86_64 GNU/Linux
$
$ gcc --version
gcc (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.