diff --git a/core/Makefile b/core/Makefile index ddfd293b2..2ba75ed5e 100644 --- a/core/Makefile +++ b/core/Makefile @@ -15,7 +15,7 @@ # Copyright SkySQL Ab 2013 CC=cc -CFLAGS=-c -I../include +CFLAGS=-c -I/usr/include -I../include SRCS= atomic.c buffer.c spinlock.c gateway.c gateway_mysql_protocol.c gw_utils.c utils.c OBJ=$(SRCS:.c=.o) LIBS=-lssl diff --git a/include/dcb.h b/include/dcb.h index 8a5c11cbb..4e4257e77 100644 --- a/include/dcb.h +++ b/include/dcb.h @@ -55,7 +55,7 @@ typedef struct gw_protocol { int (*error)(struct dcb *, int); int (*hangup)(struct dcb *, int); int (*accept)(struct dcb *, int); - int (*close)(struct dcb *); + int (*close)(struct dcb *, int); } GWPROTOCOL; /*