From: "Jasper St. Pierre" <[email protected]>

So that these can be shared between other extensions besides
XInput2.
---
 Xmd.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Xmd.h b/Xmd.h
index 96cc08f..6947fcc 100644
--- a/Xmd.h
+++ b/Xmd.h
@@ -44,6 +44,9 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
OF THIS
 SOFTWARE.
 
 ******************************************************************/
+
+#include <stdint.h>
+
 #ifndef XMD_H
 # define XMD_H 1
 /*
@@ -144,6 +147,12 @@ typedef CARD16             BITS16;
 typedef CARD8          BYTE;
 typedef CARD8          BOOL;
 
+typedef int32_t FP1616;
+typedef struct _FP3232 {
+    int32_t     integral;
+    uint32_t    frac;
+} FP3232;
+
 /*
  * definitions for sign-extending bitfields on 64-bit architectures
  */
-- 
1.7.12.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to