diff options
author | thinkerou <thinkerou@gmail.com> | 2018-05-18 09:27:15 +0800 |
---|---|---|
committer | thinkerou <thinkerou@gmail.com> | 2018-05-18 09:27:15 +0800 |
commit | 9a730194dd06ef349162dc66ba3782a8666ea6a4 (patch) | |
tree | 2e46b381f2a80d70749e22a28600202bd5be6feb /src/php/ext | |
parent | 39604e410d7d626777bec17e5d94b13798e08dbb (diff) |
php: remove invalid include file
Diffstat (limited to 'src/php/ext')
-rw-r--r-- | src/php/ext/grpc/byte_buffer.c | 2 | ||||
-rw-r--r-- | src/php/ext/grpc/server_credentials.h | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/php/ext/grpc/byte_buffer.c b/src/php/ext/grpc/byte_buffer.c index 474b7a694b..9c9a6fc3a0 100644 --- a/src/php/ext/grpc/byte_buffer.c +++ b/src/php/ext/grpc/byte_buffer.c @@ -18,6 +18,8 @@ #include <php.h> +// The include file must place here under <php.h> for fixing compile error. +// See: https://github.com/grpc/grpc/pull/12360#issuecomment-326484589 #include "byte_buffer.h" #include <grpc/byte_buffer_reader.h> diff --git a/src/php/ext/grpc/server_credentials.h b/src/php/ext/grpc/server_credentials.h index 24ff88a05e..6a1af3603e 100644 --- a/src/php/ext/grpc/server_credentials.h +++ b/src/php/ext/grpc/server_credentials.h @@ -19,14 +19,6 @@ #ifndef NET_GRPC_PHP_GRPC_SERVER_CREDENTIALS_H_ #define NET_GRPC_PHP_GRPC_SERVER_CREDENTIALS_H_ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <php.h> -#include <php_ini.h> -#include <ext/standard/info.h> - #include "php_grpc.h" #include <grpc/grpc_security.h> |