Added missing 'extern "C"' wrappers two pnd_io_* headers. Thanks crow!
[pandora-libraries.git] / include / pnd_io_ioctl.h
index 5ed7b1d..c7394b1 100644 (file)
@@ -1,9 +1,17 @@
 #ifndef h_pnd_io_ioctl_h
 #define h_pnd_io_ioctl_h
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 // this is a simple 'is key pressed?' type routine, using standard ioctl; if you don't want to
 // monitor the events and just ewant to see whats up, this can be handy.
 // returns -1 on error, 0 for 'not down', and >0 for 'is down'
 int pnd_is_key_down ( int fd, int key );
 
+#ifdef __cplusplus
+} /* "C" */
+#endif
+
 #endif