From cad9b88be2ad3c0eaa52bdda2435a0b719a60915 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 25 Dec 2014 11:31:27 +0200 Subject: [PATCH] Fix CONFIG_OS=none build Signed-off-by: Jouni Malinen --- src/utils/os_none.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/utils/os_none.c b/src/utils/os_none.c index 26491115a..83fe02516 100644 --- a/src/utils/os_none.c +++ b/src/utils/os_none.c @@ -234,3 +234,9 @@ int os_snprintf(char *str, size_t size, const char *format, ...) return 0; } #endif /* OS_NO_C_LIB_DEFINES */ + + +int os_exec(const char *program, const char *arg, int wait_completion) +{ + return -1; +}