Merge pull request #70 from fengli79/master

Use nginx_includes.h for nginx headers.
This commit is contained in:
Feng Li 2017-03-15 13:59:17 -07:00 committed by GitHub
commit 775d3473f8
2 changed files with 1 additions and 6 deletions

View File

@ -10,6 +10,7 @@
#include "net/grpc/gateway/codec/decoder.h"
#include "net/grpc/gateway/codec/encoder.h"
#include "net/grpc/gateway/frontend/frontend.h"
#include "net/grpc/gateway/nginx_includes.h"
#include "net/grpc/gateway/runtime/constants.h"
#include "third_party/grpc/include/grpc++/support/byte_buffer.h"
#include "third_party/grpc/include/grpc++/support/string_ref.h"
@ -18,10 +19,6 @@
extern "C" {
#endif
#include "third_party/nginx/src/src/core/ngx_config.h"
#include "third_party/nginx/src/src/core/ngx_core.h"
#include "third_party/nginx/src/src/http/ngx_http.h"
typedef struct {
// The pointer of the frontend instance which serves the request.
std::shared_ptr<grpc::gateway::Frontend> frontend;

View File

@ -5,8 +5,6 @@
extern "C" {
#endif
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#ifdef __cplusplus