X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcectypes.h;h=eee055264b8fbc7a2854bab53465dc3fd721a4de;hb=cb9157778536cfca3ab8e4b98d60e08072887dd5;hp=f2d8e6710f2ff511e6b446531a67a8406c3af574;hpb=30a57ee80e9222abfbeefd257da1c3ddbaecb3b0;p=deb_libcec.git diff --git a/include/cectypes.h b/include/cectypes.h index f2d8e67..eee0552 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -36,11 +36,9 @@ #include #include -#include -#ifdef __cplusplus -extern "C" { -namespace CEC { +#if !defined(_WIN32) && !defined(_WIN64) +#include #endif #if !defined(DECLSPEC) @@ -56,6 +54,11 @@ namespace CEC { #endif #endif +#ifdef __cplusplus +extern "C" { +namespace CEC { +#endif + typedef enum { CEC_ABORT_REASON_UNRECOGNIZED_OPCODE = 0,