Skip to content

Commit d30ed7f

Browse files
authored
Merge pull request #84 from tmobile/tmo-fix-tmo-shell-head-2023-01-26
Fix tmo shell build in HEAD
2 parents 474bde7 + d07a32c commit d30ed7f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

samples/tmo_shell/src/tmo_ping.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
#include <zephyr/kernel.h>
88
#include <zephyr/shell/shell.h>
9+
#include <zephyr/posix/unistd.h>
10+
#include <getopt.h>
911
#include <zephyr/net/ping.h>
1012
#include <zephyr/net/socket.h>
1113
#include "tmo_shell.h"

samples/tmo_shell/src/tmo_shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LOG_MODULE_REGISTER(tmo_shell, LOG_LEVEL_INF);
1616
#include <stdio.h>
1717
#include <zephyr/fs/fs.h>
1818
#include <zephyr/kernel.h>
19-
#include <fcntl.h>
19+
#include <zephyr/posix/fcntl.h>
2020
#include <zephyr/net/socket.h>
2121
#include <zephyr/shell/shell.h>
2222
#include <zephyr/shell/shell_uart.h>

0 commit comments

Comments
 (0)