summaryrefslogtreecommitdiff
path: root/libre/xscreensaver/xscreensaver-5.31-1001-binaryring.c-include-stdint.patch
blob: 13f1f01b75b91a2c40d5232151b4acd5adf8ca74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 3b9f847b4692d34f966af368a63d03887be11a79 Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
Date: Sun, 16 Nov 2014 16:55:48 +0900
Subject: [PATCH] binaryring.c: include stdint
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

On Fedora 21, binaryring.c fails to compile as:

../../hacks/binaryring.c:40:9: error: unknown type name ‘uint32_t’
 typedef uint32_t pixel_t;
         ^
Makefile:542: recipe for target 'binaryring.o' failed

Just include stdint.h for this type.
---
 hacks/binaryring.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hacks/binaryring.c b/hacks/binaryring.c
index 2432073..e3a58d9 100644
--- a/hacks/binaryring.c
+++ b/hacks/binaryring.c
@@ -27,6 +27,8 @@
 #include "colors.h"
 #include "hsv.h"
 
+#include <stdint.h>
+
 #define ANTIALIAS   1
 #define BLACK       0
 #define WHITE       1
-- 
2.1.0