X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cc248aae9bff569a771210e9b63f6f4dfe83e3a6..a43e21e05c5cf9e3525b3dd5480e4ee5945ffab1:/popt/system.h diff --git a/popt/system.h b/popt/system.h index 338be45b..fc2f0d4c 100644 --- a/popt/system.h +++ b/popt/system.h @@ -41,8 +41,15 @@ # ifdef _AIX #pragma alloca # else -# ifndef alloca /* predefined by HP cc +Olibcalls */ +# if HAVE_ALLOCA +# ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); +# endif +# else +# ifdef alloca +# undef alloca +# endif +# define alloca(sz) malloc(sz) /* Kludge this for now */ # endif # endif # endif @@ -62,5 +69,4 @@ char *alloca (); #define xstrdup(_str) strdup(_str) #endif /* HAVE_MCHECK_H && defined(__GNUC__) */ - #include "popt.h"