]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/UIUCModel/uiuc_auto_pilot.h
Fix many clang errors in UIUC code
[flightgear.git] / src / FDM / UIUCModel / uiuc_auto_pilot.h
index b2ef4ce02790cfbedf7d13fa2a8a65844c2d3df1..8f4c3ffd53dccd52b281f19c95eebbbe4f220833 100644 (file)
@@ -9,8 +9,16 @@
 #include <FDM/LaRCsim/ls_generic.h>
 #include <FDM/LaRCsim/ls_constants.h>   /* RAD_TO_DEG, DEG_TO_RAD*/
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern double Simtime;
 
+#ifdef __cplusplus
+}
+#endif
+
 void uiuc_auto_pilot(double dt);
 
 #endif // _AUTO_PILOT_H_