aboutsummaryrefslogtreecommitdiff
path: root/tests/compat_bug777.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-02-23 14:48:46 -0800
committerGarrett D'Amore <garrett@damore.org>2018-02-23 14:48:46 -0800
commitc457bddfae64521ea9861f2211e6cb25858559b3 (patch)
tree4c0ef1c7450198ce14ef4fbcdddb5d47e911fb4f /tests/compat_bug777.c
parentc31c9147320741904b604e2172f99d5ca08eb417 (diff)
downloadnng-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_bug777.c')
-rw-r--r--tests/compat_bug777.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/compat_bug777.c b/tests/compat_bug777.c
index ba4a8b02..f5cfde6a 100644
--- a/tests/compat_bug777.c
+++ b/tests/compat_bug777.c
@@ -1,6 +1,6 @@
/*
- Copyright 2017 Garrett D'Amore <garrett@damore.org>
- Copyright 2017 Capitar IT Group BV <info@capitar.com>
+ Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+ Copyright 2018 Capitar IT Group BV <info@capitar.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
@@ -21,8 +21,7 @@
IN THE SOFTWARE.
*/
-#include "nng_compat.h"
-#include "nng.h"
+#include <nanomsg/nn.h>
#include "compat_testutil.h"
int main (NN_UNUSED int argc, NN_UNUSED const char *argv[])