Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/def.h b/src/def.h
- index f625597..95c1a57 100644
- --- a/src/def.h
- +++ b/src/def.h
- @@ -17,6 +17,8 @@
- #include "sysdef.h" /* Order is critical. */
- #include "ttydef.h"
- #include <stdio.h>
- +#include <string.h>
- +#include <stdlib.h>
- #define CVMVAS 1 /* C-V, M-V work in pages. */
- #define BACKUP 0 /* Make backup file. */
- @@ -334,9 +336,3 @@ extern int curmsgf;
- extern int newmsgf;
- extern char msg[];
- -/*
- - * Standard I/O.
- - */
- -extern char *malloc();
- -extern char *strcpy();
- -extern char *strcat();
- diff --git a/src/sys/unix/Makefile b/src/sys/unix/Makefile
- index 2589778..af5dc80 100644
- --- a/src/sys/unix/Makefile
- +++ b/src/sys/unix/Makefile
- @@ -10,6 +10,7 @@ OBJS += tty.o ttykbd.o
- # back end: unix
- OBJS += fileio.o spawn.o ttyio.o
- +CPPFLAGS += -Wno-incompatible-pointer-types -Wno-builtin-declaration-mismatch
- CFLAGS += -I. -I../../tty/ansi -I../.. -std=c89
- all: $(EXEC)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement