1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 17:25:17 +03:00
aports/main/nagios-plugins/fix-compilation-warnings-about-sys-poll.patch
2020-12-01 14:18:32 +00:00

16 lines
301 B
Diff

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
/*