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) 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 . DEPPATH = --dep-path .
VPATH = . VPATH = .
@ -52,12 +54,6 @@ ifeq ($(WINTOOL),y)
INCDIROPT = -w INCDIROPT = -w
endif endif
##include ascii/Make.defs
##include functions/Make.defs
##include nuttx/Make.defs
##include rtu/Make.defs
##include tcp/Make.defs
endif endif
AOBJS = $(ASRCS:.S=$(OBJEXT)) AOBJS = $(ASRCS:.S=$(OBJEXT))

View File

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

View File

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