Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6793c52 authored by Jack Palevich's avatar Jack Palevich
Browse files

Include the linenoise.h header in a cleaner way.

(This was a comment to an earlier change that I
overlooked.)
parent 0cf08ed5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ LOCAL_CFLAGS += -DSHELL -DWITH_LINENOISE

LOCAL_STATIC_LIBRARIES := liblinenoise

LOCAL_C_INCLUDES += system/core/liblinenoise

make_ash_files: PRIVATE_SRC_FILES := $(SRC_FILES)
make_ash_files: PRIVATE_CFLAGS := $(LOCAL_CFLAGS)
make_ash_files:
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ __RCSID("$NetBSD: input.c,v 1.39 2003/08/07 09:05:32 agc Exp $");
#include "myhistedit.h"

#ifdef WITH_LINENOISE
#include "../liblinenoise/linenoise.h"
#include "linenoise.h"
#endif

#define EOF_NLEFT -99		/* value of parsenleft when EOF pushed back */