aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/xcursor/xcursor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/xcursor/xcursor.h b/include/xcursor/xcursor.h
index 62e23220..285f4de6 100644
--- a/include/xcursor/xcursor.h
+++ b/include/xcursor/xcursor.h
@@ -26,8 +26,10 @@
#ifndef XCURSOR_H
#define XCURSOR_H
-typedef int XcursorBool;
-typedef unsigned int XcursorUInt;
+#include <stdint.h>
+
+typedef int XcursorBool;
+typedef uint32_t XcursorUInt;
typedef XcursorUInt XcursorDim;
typedef XcursorUInt XcursorPixel;