binfmt/: Fix FLAT build with BUILTIN support. Fixes problems introduced in a recent commit.

This commit is contained in:
Michael Jung 2019-08-25 08:58:30 -06:00 committed by Gregory Nutt
parent cb340cbfdb
commit 4227d2aaa5
2 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,7 @@ endif
# Builtin application interfaces # Builtin application interfaces
ifeq ($(CONFIG_BUILTIN),y) ifeq ($(CONFIG_BUILTIN),y)
CSRCS += builtin.c BINFMT_CSRCS += builtin.c
endif endif
# Add configured binary modules # Add configured binary modules

View File

@ -45,6 +45,8 @@
#include <nuttx/binfmt/nxflat.h> #include <nuttx/binfmt/nxflat.h>
#include <nuttx/lib/builtin.h> #include <nuttx/lib/builtin.h>
#include "binfmt.h"
#ifndef CONFIG_BINFMT_DISABLE #ifndef CONFIG_BINFMT_DISABLE
/**************************************************************************** /****************************************************************************