master hovercats/oakiss / pkg / wayland / patch / 0002-wayland-util.h-remove-unused-math.h-include.patch
 1From 66a4e2de5aa7f157778a314bf7e73e99b23a9a1e Mon Sep 17 00:00:00 2001
 2From: Michael Forney <mforney@mforney.org>
 3Date: Wed, 16 Dec 2020 00:56:19 -0800
 4Subject: [PATCH] wayland-util.h: remove unused math.h include
 5
 6This header is unused since f5df38959b (2012).
 7---
 8 src/connection.c   | 1 -
 9 src/wayland-util.h | 1 -
10 2 files changed, 2 deletions(-)
11
12diff --git a/src/connection.c b/src/connection.c
13index 8870fd2..537fb92 100644
14--- a/src/connection.c
15+++ b/src/connection.c
16@@ -27,7 +27,6 @@
17 #define _GNU_SOURCE
18 
19 #include <assert.h>
20-#include <math.h>
21 #include <stdlib.h>
22 #include <stdint.h>
23 #include <string.h>
24diff --git a/src/wayland-util.h b/src/wayland-util.h
25index 929a34f..27cecbc 100644
26--- a/src/wayland-util.h
27+++ b/src/wayland-util.h
28@@ -31,7 +31,6 @@
29 #ifndef WAYLAND_UTIL_H
30 #define WAYLAND_UTIL_H
31 
32-#include <math.h>
33 #include <stddef.h>
34 #include <inttypes.h>
35 #include <stdarg.h>
36-- 
372.45.1
38