summaryrefslogtreecommitdiff
path: root/pkg/wayland/patch/0002-wayland-util.h-remove-unused-math.h-include.patch
blob: 922238313cb1d70b1b69e256639b15785aa99cdd (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
37
38
From 73a48baabf1e154c6d6bc79270106305773ef95f Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Wed, 16 Dec 2020 00:56:19 -0800
Subject: [PATCH] wayland-util.h: remove unused math.h include

This header is unused since f5df38959b (2012).
---
 src/connection.c   | 1 -
 src/wayland-util.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index d0c7d9f..62e6dbd 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -26,7 +26,6 @@
 
 #define _GNU_SOURCE
 
-#include <math.h>
 #include <stdlib.h>
 #include <stdint.h>
 #include <string.h>
diff --git a/src/wayland-util.h b/src/wayland-util.h
index 7997778..5731cf8 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -31,7 +31,6 @@
 #ifndef WAYLAND_UTIL_H
 #define WAYLAND_UTIL_H
 
-#include <math.h>
 #include <stddef.h>
 #include <inttypes.h>
 #include <stdarg.h>
-- 
2.32.0