Browse Source

Fix CONFIG_OS=none build

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 10 years ago
parent
commit
cad9b88be2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/utils/os_none.c

+ 6 - 0
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;
+}