Fix compile bugs
FossilOrigin-Name: c4705b366ed1b7e821a2292d407c7a700515324583ba043552f1af4d9970c82a
This commit is contained in:
parent
e3f685c03b
commit
e3763457e5
3 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
CC ?= cc
|
||||
CFLAGS = -g -ansi -I ./include/
|
||||
CFLAGS = -g -ansi -Wall -Werror=implicit-function-declaration -I ./include/
|
||||
SRC = $(wildcard src/*.c)
|
||||
OBJ = $(patsubst %.c,%.o,$(SRC))
|
||||
TARGET = libmastodont.a # shared
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <mastodont_json_helper.h>
|
||||
|
||||
int _mstdnt_json_init(cJSON** root,
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include <assert.h>
|
||||
#include <mastodont_request.h>
|
||||
#include <mastodont_query.h>
|
||||
#include <mastodont_error.h>
|
||||
|
||||
#define CONV_SIZE 64
|
||||
|
||||
|
|
Loading…
Reference in a new issue