Skip to content

Commit

Permalink
Fix ext/sockets build with phpize
Browse files Browse the repository at this point in the history
Fixes bug #64285
  • Loading branch information
cataphract committed Feb 23, 2013
1 parent 97f2270 commit 189fbfd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions ext/sockets/multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

#include "php.h"

#if HAVE_SOCKETS

#include "php_network.h"
#ifdef PHP_WIN32
# include "windows_common.h"
Expand Down Expand Up @@ -836,5 +834,3 @@ int php_add4_to_if_index(struct in_addr *addr, php_socket *php_sock, unsigned *i
return FAILURE;
}
#endif

#endif /* HAVE_SOCKETS */
4 changes: 4 additions & 0 deletions ext/sockets/php_sockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@

/* $Id$ */

#if HAVE_CONFIG_H
# include "config.h"
#endif

#if HAVE_SOCKETS

#include <php.h>
Expand Down
4 changes: 0 additions & 4 deletions ext/sockets/sockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@

#include "php.h"

#if HAVE_SOCKETS

#include "php_network.h"
#include "ext/standard/file.h"
#include "ext/standard/info.h"
Expand Down Expand Up @@ -2278,8 +2276,6 @@ PHP_FUNCTION(socket_import_stream)
}
/* }}} */

#endif

/*
* Local variables:
* tab-width: 4
Expand Down

0 comments on commit 189fbfd

Please sign in to comment.