diff options
| author | Damien George | 2014-01-02 07:49:13 -0800 |
|---|---|---|
| committer | Damien George | 2014-01-02 07:49:13 -0800 |
| commit | 6b032642ece5d56557beb21a3e712fb6538d979e (patch) | |
| tree | d675f861dc19219335ae4b1d646eb9db219df5a9 /unix | |
| parent | 5d32983cb78355446b97722448de00862c120e46 (diff) | |
| parent | 33fefc74a57bf974e052cf8035fe81fdd2df8087 (diff) | |
Merge pull request #28 from vext01/openbsd
Make micropython build on OpenBSD.
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/Makefile | 2 | ||||
| -rw-r--r-- | unix/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/Makefile b/unix/Makefile index 17a680a13..3ff32cd85 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -3,7 +3,7 @@ BUILD=build CC = gcc CFLAGS = -I. -I$(PYSRC) -Wall -Werror -ansi -std=gnu99 -Os -DUSE_READLINE #-DNDEBUG -LDFLAGS = -lm +LDFLAGS = -lm -ltermcap SRC_C = \ main.c \ diff --git a/unix/main.c b/unix/main.c index 79fe1b515..376dbc0c0 100644 --- a/unix/main.c +++ b/unix/main.c @@ -1,7 +1,7 @@ #include <stdint.h> #include <stdio.h> #include <string.h> -#include <malloc.h> +#include <stdlib.h> #include "nlr.h" #include "misc.h" |
