- Fix build for 8.x

This commit is contained in:
Martin Wilke 2013-05-30 16:44:50 +00:00
parent 01744dd6bc
commit ceeb795c43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319435
2 changed files with 11 additions and 1 deletions

View file

@ -17,7 +17,7 @@ USE_PHP= yes
USE_PHP_BUILD= spl
USE_PHPIZE= yes
USE_PHPEXT= yes
CONFIGURE_ARGS= --enable-mongo=${LOCALBASE}
SUB_FILES= pkg-message
post-install:

View file

@ -0,0 +1,10 @@
--- mcon/types.h.orgi 2013-05-31 00:39:17.000000000 +0800
+++ mcon/types.h 2013-05-31 00:40:39.000000000 +0800
@@ -36,6 +36,7 @@
# define va_copy(d,s) ((void)((d) = (s)))
#endif
#else
+# include <sys/types.h>
# include <stdint.h>
# include <netinet/in.h>
# include <netinet/tcp.h>