diff options
Diffstat (limited to 'other/bootstrap_daemon/src/command_line_arguments.c')
-rw-r--r-- | other/bootstrap_daemon/src/command_line_arguments.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/other/bootstrap_daemon/src/command_line_arguments.c b/other/bootstrap_daemon/src/command_line_arguments.c index dce828a7..d9747932 100644 --- a/other/bootstrap_daemon/src/command_line_arguments.c +++ b/other/bootstrap_daemon/src/command_line_arguments.c | |||
@@ -26,6 +26,8 @@ | |||
26 | 26 | ||
27 | #include "global.h" | 27 | #include "global.h" |
28 | 28 | ||
29 | #include "../../../toxcore/ccompat.h" | ||
30 | |||
29 | #include <getopt.h> | 31 | #include <getopt.h> |
30 | 32 | ||
31 | #include <stdlib.h> | 33 | #include <stdlib.h> |
@@ -87,7 +89,7 @@ void handle_command_line_arguments(int argc, char *argv[], char **cfg_file_path, | |||
87 | 89 | ||
88 | int opt; | 90 | int opt; |
89 | 91 | ||
90 | while ((opt = getopt_long(argc, argv, ":", long_options, NULL)) != -1) { | 92 | while ((opt = getopt_long(argc, argv, ":", long_options, nullptr)) != -1) { |
91 | 93 | ||
92 | switch (opt) { | 94 | switch (opt) { |
93 | 95 | ||