mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-20 10:15:49 +00:00
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:
parent
4a61871344
commit
d4e4f10df1
@ -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>
|
||||
|
@ -82,7 +82,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef OPENAIS_BSD
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
#include <sys/uio.h>
|
||||
#include <stdio.h>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user