aboutsummaryrefslogtreecommitdiff
path: root/tests/compat_cmsg.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_cmsg.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_cmsg.c')
-rw-r--r--tests/compat_cmsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compat_cmsg.c b/tests/compat_cmsg.c
index 4d70dabe..9484161b 100644
--- a/tests/compat_cmsg.c
+++ b/tests/compat_cmsg.c
@@ -1,6 +1,6 @@
/*
Copyright (c) 2014 Martin Sustrik All rights reserved.
- Copyright 2015 Garrett D'Amore <garrett@damore.org>
+ Copyright 2018 Garrett D'Amore <garrett@damore.org>
Copyright 2016 Franklin "Snaipe" Mathieu <franklinmathieu@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -22,7 +22,7 @@
IN THE SOFTWARE.
*/
-#include "nng_compat.h"
+#include <nanomsg/nn.h>
#include "compat_testutil.h"
int main (int argc, const char *argv[])