From e5e075af8b235360046eea9dd06e39ed9651b174 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 14 Jul 2017 10:06:49 -0700
Subject: [PATCH] lmon16g.c: Adjust system headers

fstab.h is unused
errno.h is in /usr/include
defines from sys/cdefs.h is used

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending

 lmon16n.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lmon16n.c b/lmon16n.c
index 5efd8f8..8a5d35c 100644
--- a/lmon16n.c
+++ b/lmon16n.c
@@ -61,7 +61,7 @@ static char *SccsId = "nmon " VERSION;
 #include <fcntl.h>
 #include <math.h>
 #include <time.h>
-#include <sys/errno.h>
+#include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
@@ -69,6 +69,7 @@ static char *SccsId = "nmon " VERSION;
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <sys/wait.h>
+#include <sys/cdefs.h>
 
 /* Windows moved here so they can be cleared when the screen mode changes */
 WINDOW *padwelcome = NULL;
@@ -583,7 +584,6 @@ struct procsinfo {
 int isroot = 0;
 
 #include <mntent.h>
-#include <fstab.h>
 #include <sys/stat.h>
 #include <sys/statfs.h>
 #include <net/if.h>
