src/joystick/linux/SDL_sysjoystick.c
changeset 6754 c8cbb53af33e
parent 6752 8de11011eb1f
child 6831 935b871e1ffe
equal deleted inserted replaced
6753:332c36fd0fd7 6754:c8cbb53af33e
    59 #include <sys/types.h>
    59 #include <sys/types.h>
    60 #include <unistd.h>
    60 #include <unistd.h>
    61 
    61 
    62 /* we never link directly to libudev. */
    62 /* we never link directly to libudev. */
    63 /* !!! FIXME: can we generalize this? ALSA, etc, do the same things. */
    63 /* !!! FIXME: can we generalize this? ALSA, etc, do the same things. */
    64 static const char *udev_library = "libudev.so";
    64 static const char *udev_library = "libudev.so.0";
    65 static void *udev_handle = NULL;
    65 static void *udev_handle = NULL;
    66 
    66 
    67 /* !!! FIXME: this is kinda ugly. */
    67 /* !!! FIXME: this is kinda ugly. */
    68 static SDL_bool
    68 static SDL_bool
    69 load_udev_sym(const char *fn, void **addr)
    69 load_udev_sym(const char *fn, void **addr)