Skip to content

Commit 0112b2b

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: Fix ext/sockets build with phpize Fix ext/intl build with phpize
2 parents 46adc16 + 189fbfd commit 0112b2b

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

ext/intl/converter/converter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <unicode/ucnv.h>
2222
#include <unicode/ustring.h>
2323

24-
#include "ext/intl/intl_error.h"
24+
#include "../intl_error.h"
2525

2626
typedef struct _php_converter_object {
2727
zend_object obj;

ext/sockets/multicast.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
#include "php.h"
2626

27-
#if HAVE_SOCKETS
28-
2927
#include "php_network.h"
3028
#ifdef PHP_WIN32
3129
# include "windows_common.h"
@@ -836,5 +834,3 @@ int php_add4_to_if_index(struct in_addr *addr, php_socket *php_sock, unsigned *i
836834
return FAILURE;
837835
}
838836
#endif
839-
840-
#endif /* HAVE_SOCKETS */

ext/sockets/php_sockets.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424

2525
/* $Id$ */
2626

27+
#if HAVE_CONFIG_H
28+
# include "config.h"
29+
#endif
30+
2731
#if HAVE_SOCKETS
2832

2933
#include <php.h>

ext/sockets/sockets.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828

2929
#include "php.h"
3030

31-
#if HAVE_SOCKETS
32-
3331
#include "php_network.h"
3432
#include "ext/standard/file.h"
3533
#include "ext/standard/info.h"
@@ -2278,8 +2276,6 @@ PHP_FUNCTION(socket_import_stream)
22782276
}
22792277
/* }}} */
22802278

2281-
#endif
2282-
22832279
/*
22842280
* Local variables:
22852281
* tab-width: 4

0 commit comments

Comments
 (0)