Fix compile bugs

FossilOrigin-Name: c4705b366ed1b7e821a2292d407c7a700515324583ba043552f1af4d9970c82a
This commit is contained in:
me@ow.nekobit.net 2022-04-26 19:34:47 +00:00
parent e3f685c03b
commit e3763457e5
3 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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,

View file

@ -19,6 +19,7 @@
#include <assert.h>
#include <mastodont_request.h>
#include <mastodont_query.h>
#include <mastodont_error.h>
#define CONV_SIZE 64