]> granicus.if.org Git - icinga2/commitdiff
Build fix for FreeBSD
authorGunnar Beutner <gunnar@beutner.name>
Thu, 4 Sep 2014 08:44:34 +0000 (10:44 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Thu, 4 Sep 2014 08:44:34 +0000 (10:44 +0200)
third-party/execvpe/execvpe.c

index 705901df22e34d05f3cabb564c57433e69f4ab91..c0528b10df3afc242d3619b59aa4f25b1f9d71b4 100644 (file)
@@ -17,7 +17,9 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#ifndef __FreeBSD__
 #include <alloca.h>
+#endif /* _FreeBSD__ */
 #include <unistd.h>
 #include <stdarg.h>
 #include <stdbool.h>