Skip to content
Snippets Groups Projects
Commit 998ac5ca authored by Jason Parker's avatar Jason Parker
Browse files

Only use alloca.h on OSes that have it.

Reported by jontow on IRC in #asterisk-dev


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 42a56b7a
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +25,12 @@
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <alloca.h>
#include <string.h>
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
#ifndef HAVE_STRSEP
char *strsep(char **str, const char *delims)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment