diff options
| author | David M. Syzdek <david@syzdek.net> | 2023-01-10 01:20:03 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2023-01-10 01:20:03 -0900 |
| commit | 16c274ead14d5724e3e8601d6049b98e7ec938cc (patch) | |
| tree | 58588076ffb45124882301bb87febb8d89a42f96 | |
| parent | 154f1bd8e39985c70e3904e4211d38eabacc4e9d (diff) | |
| download | otputils-16c274ead14d5724e3e8601d6049b98e7ec938cc.tar.gz otputils-16c274ead14d5724e3e8601d6049b98e7ec938cc.tar.bz2 otputils-16c274ead14d5724e3e8601d6049b98e7ec938cc.tar.xz otputils-16c274ead14d5724e3e8601d6049b98e7ec938cc.zip | |
tests: adding otputil_compat.h
| -rw-r--r-- | tests/otp-data.c | 2 | ||||
| -rw-r--r-- | tests/otp-data.h | 2 | ||||
| -rw-r--r-- | tests/otp-dicts/otp-dicts.h | 2 | ||||
| -rw-r--r-- | tests/test-dict-otp.c | 2 | ||||
| -rw-r--r-- | tests/test-hotp.c | 2 | ||||
| -rw-r--r-- | tests/test-otp-decode.c | 2 | ||||
| -rw-r--r-- | tests/test-otp-encode.c | 2 | ||||
| -rw-r--r-- | tests/test-totp.c | 2 |
8 files changed, 16 insertions, 0 deletions
diff --git a/tests/otp-data.c b/tests/otp-data.c index 24296a9..a115836 100644 --- a/tests/otp-data.c +++ b/tests/otp-data.c | |||
| @@ -39,6 +39,8 @@ | |||
| 39 | /////////////// | 39 | /////////////// |
| 40 | #pragma mark - Headers | 40 | #pragma mark - Headers |
| 41 | 41 | ||
| 42 | #include <otputil_compat.h> | ||
| 43 | |||
| 42 | #ifdef HAVE_CONFIG_H | 44 | #ifdef HAVE_CONFIG_H |
| 43 | #include <config.h> | 45 | #include <config.h> |
| 44 | #endif | 46 | #endif |
diff --git a/tests/otp-data.h b/tests/otp-data.h index db2bc75..fcc64a4 100644 --- a/tests/otp-data.h +++ b/tests/otp-data.h | |||
| @@ -40,6 +40,8 @@ | |||
| 40 | /////////////// | 40 | /////////////// |
| 41 | #pragma mark - Headers | 41 | #pragma mark - Headers |
| 42 | 42 | ||
| 43 | #include <otputil_compat.h> | ||
| 44 | |||
| 43 | #ifdef HAVE_CONFIG_H | 45 | #ifdef HAVE_CONFIG_H |
| 44 | #include <config.h> | 46 | #include <config.h> |
| 45 | #endif | 47 | #endif |
diff --git a/tests/otp-dicts/otp-dicts.h b/tests/otp-dicts/otp-dicts.h index fa6b59f..dafec1b 100644 --- a/tests/otp-dicts/otp-dicts.h +++ b/tests/otp-dicts/otp-dicts.h | |||
| @@ -40,6 +40,8 @@ | |||
| 40 | /////////////// | 40 | /////////////// |
| 41 | #pragma mark - Headers | 41 | #pragma mark - Headers |
| 42 | 42 | ||
| 43 | #include <otputil_compat.h> | ||
| 44 | |||
| 43 | #include <stdio.h> | 45 | #include <stdio.h> |
| 44 | 46 | ||
| 45 | 47 | ||
diff --git a/tests/test-dict-otp.c b/tests/test-dict-otp.c index bfc4530..1615eb5 100644 --- a/tests/test-dict-otp.c +++ b/tests/test-dict-otp.c | |||
| @@ -39,6 +39,8 @@ | |||
| 39 | /////////////// | 39 | /////////////// |
| 40 | #pragma mark - Headers | 40 | #pragma mark - Headers |
| 41 | 41 | ||
| 42 | #include <otputil_compat.h> | ||
| 43 | |||
| 42 | #ifdef HAVE_CONFIG_H | 44 | #ifdef HAVE_CONFIG_H |
| 43 | #include <config.h> | 45 | #include <config.h> |
| 44 | #endif | 46 | #endif |
diff --git a/tests/test-hotp.c b/tests/test-hotp.c index 06ac013..80f69e9 100644 --- a/tests/test-hotp.c +++ b/tests/test-hotp.c | |||
| @@ -39,6 +39,8 @@ | |||
| 39 | /////////////// | 39 | /////////////// |
| 40 | #pragma mark - Headers | 40 | #pragma mark - Headers |
| 41 | 41 | ||
| 42 | #include <otputil_compat.h> | ||
| 43 | |||
| 42 | #ifdef HAVE_CONFIG_H | 44 | #ifdef HAVE_CONFIG_H |
| 43 | #include <config.h> | 45 | #include <config.h> |
| 44 | #endif | 46 | #endif |
diff --git a/tests/test-otp-decode.c b/tests/test-otp-decode.c index af2cb18..e2ad00e 100644 --- a/tests/test-otp-decode.c +++ b/tests/test-otp-decode.c | |||
| @@ -39,6 +39,8 @@ | |||
| 39 | /////////////// | 39 | /////////////// |
| 40 | #pragma mark - Headers | 40 | #pragma mark - Headers |
| 41 | 41 | ||
| 42 | #include <otputil_compat.h> | ||
| 43 | |||
| 42 | #ifdef HAVE_CONFIG_H | 44 | #ifdef HAVE_CONFIG_H |
| 43 | #include <config.h> | 45 | #include <config.h> |
| 44 | #endif | 46 | #endif |
diff --git a/tests/test-otp-encode.c b/tests/test-otp-encode.c index c806387..65c402b 100644 --- a/tests/test-otp-encode.c +++ b/tests/test-otp-encode.c | |||
| @@ -39,6 +39,8 @@ | |||
| 39 | /////////////// | 39 | /////////////// |
| 40 | #pragma mark - Headers | 40 | #pragma mark - Headers |
| 41 | 41 | ||
| 42 | #include <otputil_compat.h> | ||
| 43 | |||
| 42 | #ifdef HAVE_CONFIG_H | 44 | #ifdef HAVE_CONFIG_H |
| 43 | #include <config.h> | 45 | #include <config.h> |
| 44 | #endif | 46 | #endif |
diff --git a/tests/test-totp.c b/tests/test-totp.c index f17be90..c28cddd 100644 --- a/tests/test-totp.c +++ b/tests/test-totp.c | |||
| @@ -39,6 +39,8 @@ | |||
| 39 | /////////////// | 39 | /////////////// |
| 40 | #pragma mark - Headers | 40 | #pragma mark - Headers |
| 41 | 41 | ||
| 42 | #include <otputil_compat.h> | ||
| 43 | |||
| 42 | #ifdef HAVE_CONFIG_H | 44 | #ifdef HAVE_CONFIG_H |
| 43 | #include <config.h> | 45 | #include <config.h> |
| 44 | #endif | 46 | #endif |
