diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-08-02 08:42:59 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-08-02 08:42:59 +0200 |
commit | b53717f4180746cebd7a39e738d7c6cb298ae762 (patch) | |
tree | e76be82166aada77863e9678206f2d4222312750 | |
parent | 317aee5878d6fd2a6c69d0b9632e36376ba2de62 (diff) |
Add missing includes to timer_test.c and osmo-auc-gen.c
This fixes the build with -Werror-implicit-function-declaration.
taken from malformatted patch of Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-rw-r--r-- | tests/timer/timer_test.c | 1 | ||||
-rw-r--r-- | utils/osmo-auc-gen.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/timer/timer_test.c b/tests/timer/timer_test.c index 61079bd9..ba3127d4 100644 --- a/tests/timer/timer_test.c +++ b/tests/timer/timer_test.c @@ -26,6 +26,7 @@ #include <stdlib.h> #include <signal.h> #include <getopt.h> +#include <unistd.h> #include <osmocom/core/talloc.h> #include <osmocom/core/timer.h> diff --git a/utils/osmo-auc-gen.c b/utils/osmo-auc-gen.c index 266d0d6a..7a3c124c 100644 --- a/utils/osmo-auc-gen.c +++ b/utils/osmo-auc-gen.c @@ -26,6 +26,7 @@ #include <errno.h> #include <string.h> #include <getopt.h> +#include <unistd.h> #include <osmocom/crypt/auth.h> #include <osmocom/core/utils.h> |