From d6bb25e1e0a25cb5aa781ac4f90b513fd5624f50 Mon Sep 17 00:00:00 2001 From: Gregor Burger Date: Tue, 20 Nov 2018 11:48:03 +0100 Subject: move all public headers to include/nng/ folder This change makes embedding nng + nggpp (or other projects depending on nng) in cmake easier. The header files are moved to a separate include directory. This also makes installation of the headers easier, and allows clearer identification of private vs public heade files. Some additional cleanups were performed by @gedamore, but the main credit for this change belongs with @gregorburger. --- tests/errors.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/errors.c') diff --git a/tests/errors.c b/tests/errors.c index 06747c24..0cade6a4 100644 --- a/tests/errors.c +++ b/tests/errors.c @@ -1,5 +1,5 @@ // -// Copyright 2016 Garrett D'Amore +// Copyright 2018 Staysail Systems, Inc. // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -7,11 +7,13 @@ // found online at https://opensource.org/licenses/MIT. // -#include "convey.h" -#include "nng.h" #include #include +#include + +#include "convey.h" + TestMain("Error messages work", { Convey("Known errors work", { So(strcmp(nng_strerror(NNG_ECLOSED), "Object closed") == 0); -- cgit v1.2.3-70-g09d2