Include stdint.h when using uint32_t
Since the XI2 device manager code is going to be compiled only on POSIX compliant systems, we can safely assume the presence of stdint.h and include it unconditionally.
This commit is contained in:
parent
5329c98694
commit
5593792a40
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "clutter-device-manager-xi2.h"
|
#include "clutter-device-manager-xi2.h"
|
||||||
|
|
||||||
#include "clutter-backend-x11.h"
|
#include "clutter-backend-x11.h"
|
||||||
@ -458,9 +460,9 @@ get_event_stage (ClutterEventTranslator *translator,
|
|||||||
* does the work for the other keysyms.
|
* does the work for the other keysyms.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
print_keysym (uint32_t symbol,
|
print_keysym (uint32_t symbol,
|
||||||
char *buffer,
|
char *buffer,
|
||||||
int len)
|
int len)
|
||||||
{
|
{
|
||||||
unsigned long high_bytes;
|
unsigned long high_bytes;
|
||||||
unsigned char c;
|
unsigned char c;
|
||||||
|
Loading…
Reference in New Issue
Block a user