More compile fixes

This commit is contained in:
Gregory Nutt 2014-10-27 18:11:56 -06:00
parent 10d93102c3
commit 3e41db8de9
3 changed files with 5 additions and 9 deletions

View File

@ -44,7 +44,9 @@ CSRCS =
ifeq ($(CONFIG_INTERPRETERS_BAS),y)
CSRCS += auto.c bas.c fs.c getopt1.c getopt.c global.c main.c program.c statement.c str.c value.c var.c
CSRCS += auto.c bas.c fs.c getopt1.c getopt.c global.c main.c program.c
CSRCS += str.c value.c var.c
DEPPATH = --dep-path .
VPATH = .
@ -52,12 +54,6 @@ ifeq ($(WINTOOL),y)
INCDIROPT = -w
endif
##include ascii/Make.defs
##include functions/Make.defs
##include nuttx/Make.defs
##include rtu/Make.defs
##include tcp/Make.defs
endif
AOBJS = $(ASRCS:.S=$(OBJEXT))

View File

@ -39,7 +39,7 @@
#endif
/*}}}*/
#ifndef CONFIG_INTERPRETER_BAS_HAVE_ENVIRON
#ifdef CONFIG_INTERPRETER_BAS_HAVE_ENVIRON
extern char **environ;
#endif

View File

@ -1,8 +1,8 @@
/* #includes */ /*{{{C}}}*//*{{{*/
#include <sys/wait.h>
#include <unistd.h>
#include "config.h"
#include <unistd.h>
#ifdef HAVE_GETTEXT
#include <libintl.h>
#define _(String) gettext(String)