#ifndef MOUSEDETECT_INCLUDE extern "C" { int return_attached_mouse(char *wh_mouse_driver, char *wh_mouse_device); int find_first_mouse(int *type, char **port); }; #define MOUSEDETECT_INCLUDE #endif