diff --git a/include/coap/coap.h.in b/include/coap/coap.h.in index 058b2aa5..563040f1 100644 --- a/include/coap/coap.h.in +++ b/include/coap/coap.h.in @@ -1,7 +1,7 @@ /* * coap.h -- main header file for CoAP stack of libcoap * - * Copyright (C) 2010-2012,2015-2016 Olaf Bergmann + * Copyright (C) 2010-2012,2015-2017 Olaf Bergmann * 2015 Carsten Schoenert * * This file is part of the CoAP library libcoap. Please see README for terms @@ -11,8 +11,6 @@ #ifndef _COAP_H_ #define _COAP_H_ -#include "libcoap.h" - /* Define the address where bug reports for libcoap should be sent. */ #define LIBCOAP_PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@" @@ -32,6 +30,8 @@ extern "C" { #endif +#include "libcoap.h" + #include "address.h" #include "async.h" #include "bits.h"