]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/collectd/0001-src-utils_mount.h-Add-stdio.h.patch
gcc: Fix building with glibc >= 2.28
[people/pmueller/ipfire-2.x.git] / src / patches / collectd / 0001-src-utils_mount.h-Add-stdio.h.patch
CommitLineData
2056dd30
AM
1From 4bbfb2b9f391f273744163cfda7bec96671e9d9c Mon Sep 17 00:00:00 2001
2From: Florian Forster <octo@collectd.org>
3Date: Thu, 18 Apr 2013 06:25:58 +0200
4Subject: [PATCH 01/22] src/utils_mount.h: Add <stdio.h>.
5
6This is required on Solaris 10. Thanks to dannypoo@ for reporting this
7problem.
8
9Github: #306
10---
11 src/utils_mount.h | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/utils_mount.h b/src/utils_mount.h
15index 1f2403c..83f789b 100644
16--- a/src/utils_mount.h
17+++ b/src/utils_mount.h
18@@ -26,6 +26,7 @@
19 #ifndef COLLECTD_UTILS_MOUNT_H
20 #define COLLECTD_UTILS_MOUNT_H 1
21
22+#include <stdio.h>
23 #if HAVE_FS_INFO_H
24 # include <fs_info.h>
25 #endif
26--
271.9.3
28