do not include alloca.h under BSD; alloca is in stdlib.h

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1221 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Fabien Thomas 2006-08-18 07:38:21 +00:00
parent 4a61871344
commit d4e4f10df1
3 changed files with 6 additions and 0 deletions

View File

@ -33,7 +33,9 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef OPENAIS_BSD
#include <alloca.h>
#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>

View File

@ -82,7 +82,9 @@
*
*/
#ifndef OPENAIS_BSD
#include <alloca.h>
#endif
#include <netinet/in.h>
#include <sys/uio.h>
#include <stdio.h>

View File

@ -48,7 +48,9 @@
* usage on 1.6ghz xeon from 35% to less then .1 % as measured by top
*/
#ifndef OPENAIS_BSD
#include <alloca.h>
#endif
#include <assert.h>
#include <sys/mman.h>
#include <sys/types.h>