fixed broken --disable-x11 build

git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@94 ef983eb1-d774-4af8-acfd-baaf7b16a646
pull/1/head
John Tsiombikas 2009-10-09 09:09:56 +00:00
rodzic 4805edd983
commit 7389d01f34
3 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -17,6 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#ifdef USE_X11
#include <stdio.h>
#include <stdlib.h>
#include "proto_x11.h"
@ -313,3 +315,6 @@ static int catch_badwin(Display *dpy, XErrorEvent *err)
return 0;
}
#else
int spacenavd_proto_x11_shut_up_empty_source_warning;
#endif /* USE_X11 */

Wyświetl plik

@ -28,7 +28,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "dev.h"
#include "client.h"
#include "proto_unix.h"
#ifdef USE_X11
#include "proto_x11.h"
#endif
static void cleanup(void);
static void daemonize(void);

Wyświetl plik

@ -17,6 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#ifdef USE_X11
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -145,3 +147,7 @@ int handle_xdet_events(fd_set *rset)
return -1;
}
#else
int spacenavd_xdetect_linux_shut_up_empty_source_warning;
#endif /* USE_X11 */