cbor.h shouldn't need to be in the public interface
diff --git a/cn-cbor.c b/cn-cbor.c
index 68a0282..c1b1bea 100644
--- a/cn-cbor.c
+++ b/cn-cbor.c
@@ -17,6 +17,7 @@
#include <arpa/inet.h>
#include "cn-cbor.h"
+#include "cbor.h"
// can be redefined, e.g. for pool allocation
#ifndef CN_CBOR_CALLOC
diff --git a/cn-cbor.h b/cn-cbor.h
index 44c3449..7764190 100644
--- a/cn-cbor.h
+++ b/cn-cbor.h
@@ -8,9 +8,6 @@
} /* Duh. */
#endif
-/* protocol constants: */
-#include "cbor.h"
-
typedef enum cn_cbor_type {
CN_CBOR_NULL,
CN_CBOR_FALSE, CN_CBOR_TRUE,