freebsd-ports/audio/sphinx/files/patch-src-libsphinx2_err.c
Martin Wilke 72e8535d7a - Fix build with gcc 4.2
PR:		118467
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (erwin)
2007-12-10 22:29:47 +00:00

10 lines
260 B
C

--- src/libsphinx2/err.c.orig 2007-12-06 18:22:49.000000000 +0100
+++ src/libsphinx2/err.c 2007-12-06 18:23:27.000000000 +0100
@@ -49,6 +49,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#if ((! WIN32) && (! _SGI_SOURCE))
#include <sys/errno.h>
#else