1From d977b5170027926eb97ab9742ddc51d2a5555a34 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Fri, 14 Jul 2017 10:06:49 -0700 4Subject: [PATCH] lmon16g.c: Adjust system headers 5 6fstab.h is unused 7errno.h is in /usr/include 8defines from sys/cdefs.h is used 9 10Signed-off-by: Khem Raj <raj.khem@gmail.com> 11--- 12 lmon16m.c | 4 ++-- 13 1 file changed, 2 insertions(+), 2 deletions(-) 14 15diff --git a/lmon16m.c b/lmon16m.c 16index cb27e09..d2a11c5 100644 17--- a/lmon16m.c 18+++ b/lmon16m.c 19@@ -63,7 +63,7 @@ static char *SccsId = "nmon " VERSION; 20 #include <fcntl.h> 21 #include <math.h> 22 #include <time.h> 23-#include <sys/errno.h> 24+#include <errno.h> 25 #include <sys/types.h> 26 #include <sys/stat.h> 27 #include <sys/ioctl.h> 28@@ -71,6 +71,7 @@ static char *SccsId = "nmon " VERSION; 29 #include <sys/time.h> 30 #include <sys/socket.h> 31 #include <sys/wait.h> 32+#include <sys/cdefs.h> 33 34 /* Windows moved here so they can be cleared when the screen mode changes */ 35 WINDOW *padwelcome = NULL; 36@@ -576,7 +577,6 @@ struct procsinfo { 37 int isroot = 0; 38 39 #include <mntent.h> 40-#include <fstab.h> 41 #include <sys/stat.h> 42 #include <sys/statfs.h> 43 #include <net/if.h> 44-- 452.13.3 46 47