kopia lustrzana https://github.com/FreeSpacenav/spacenavd
fixed broken --disable-x11 build
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@94 ef983eb1-d774-4af8-acfd-baaf7b16a646pull/1/head
rodzic
4805edd983
commit
7389d01f34
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 */
|
||||
|
|
Ładowanie…
Reference in New Issue