diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-23 14:48:46 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-23 14:48:46 -0800 |
| commit | c457bddfae64521ea9861f2211e6cb25858559b3 (patch) | |
| tree | 4c0ef1c7450198ce14ef4fbcdddb5d47e911fb4f /tests/compat_testutil.c | |
| parent | c31c9147320741904b604e2172f99d5ca08eb417 (diff) | |
| download | nng-c457bddfae64521ea9861f2211e6cb25858559b3.tar.gz nng-c457bddfae64521ea9861f2211e6cb25858559b3.tar.bz2 nng-c457bddfae64521ea9861f2211e6cb25858559b3.zip | |
Move compatibility header so that <nanomsg/nn.h> works.
Basically, we have moved the compat stuff into a separate directory.
Compatibility layer users will have to update their compile flags, but
should be able to avoid changing any *source* files with this change.
Diffstat (limited to 'tests/compat_testutil.c')
| -rw-r--r-- | tests/compat_testutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compat_testutil.c b/tests/compat_testutil.c index e24f31fc..ef17cb3f 100644 --- a/tests/compat_testutil.c +++ b/tests/compat_testutil.c @@ -32,8 +32,8 @@ #include <stdlib.h> #include <string.h> +#include <nanomsg/nn.h> #include "compat_testutil.h" -#include "nng_compat.h" int test_socket_impl(char *file, int line, int family, int protocol); int test_connect_impl(char *file, int line, int sock, char *address); @@ -226,4 +226,4 @@ void nn_sleep(int ms) { nng_msleep(ms); -}
\ No newline at end of file +} |
