X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Autopilot%2Fautopilot.h;h=99c4b628743d6bf7dcc5588f2e0f20e09b27b344;hb=aba1974dad12ef867b92bebb782f0f2e511d8b57;hp=b54572ee407447d41ad444b88afb6e31cfc88bf3;hpb=664b1fa4a899f5e026201e6906edc48c76d2d0e1;p=flightgear.git diff --git a/Autopilot/autopilot.h b/Autopilot/autopilot.h index b54572ee4..99c4b6287 100644 --- a/Autopilot/autopilot.h +++ b/Autopilot/autopilot.h @@ -26,11 +26,16 @@ #ifndef _AUTOPILOT_H #define _AUTOPILOT_H + #include #include #include +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { int Mode ; // the current mode the AP is operating in @@ -50,5 +55,10 @@ int fgAPRun( void ); void fgAPSetMode( int mode); +#ifdef __cplusplus +} #endif - \ No newline at end of file + + +#endif // _AUTOPILOT_H +