Skip to content

Commit

Permalink
Fix includes in Android.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
petabyt committed Jan 20, 2024
1 parent 840d6b6 commit df13c54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LIBUIFW := libuifw
#LIBUIFW := ../../libuifw

LOCAL_SRC_FILES += $(LIBUIFW)/libui.c
LOCAL_C_INCLUDES += $(LIBUIFW)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LIBUIFW)

#LOCAL_SHARED_LIBRARIES += rust

Expand Down
4 changes: 2 additions & 2 deletions lib/scripts.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <ui.h>
#include <ui_android.h>

#include "myjni.h"
#include "ui.h"
#include "ui_android.h"

static void on_click(uiButton *b, void *dat) {
uiToast("Hello, World");
Expand Down

0 comments on commit df13c54

Please sign in to comment.