aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagios-plugins/fix-compilation-warnings-about-sys-poll.patch
blob: 70b4d4680c1319406c37a644a51e9a4643832ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Subject: Use correct poll.h import
Author: Simon Frankenberger <simon-alpine@fraho.eu>

This silences some compiler warnings

--- old/plugins/common.h
+++ new/plugins/common.h
@@ -120,7 +120,7 @@
 #include <locale.h>
 
 #ifdef HAVE_SYS_POLL_H
-# include "sys/poll.h"
+# include <poll.h>
 #endif
 
 /*