]> granicus.if.org Git - procps-ng/commitdiff
compile with glibc 2.2.17 and older
authoralbert <>
Wed, 5 Jan 2005 20:50:54 +0000 (20:50 +0000)
committeralbert <>
Wed, 5 Jan 2005 20:50:54 +0000 (20:50 +0000)
NEWS
slabtop.c

diff --git a/NEWS b/NEWS
index b1e6a21f07822a1360618b8b3a14ba0b2a43f9cd..05344e985ed22abe22cb873408fafcc80ec8fd1b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ procps-3.2.4 --> procps-3.2.5
 ps: security labels can contain any printable ASCII
 top: help and version message on stdout, with exit(0)    #283541
 ps: SIGTSTP from ^Z shouldn't print bug email address
+slabtop: compile with glibc 2.2.17 (and older, likely)
 
 procps-3.2.3 --> procps-3.2.4
 
index 161df4f1c2084537c2985f9629a9465a33d2f907..d33d4da7353189af5435f26ac552b129a0417a3f 100644 (file)
--- a/slabtop.c
+++ b/slabtop.c
@@ -11,7 +11,6 @@
 
 #include <stdlib.h>
 #include <stdio.h>
-#include <unistd.h>
 #include <string.h>
 #include <errno.h>
 #include <signal.h>
 #include <getopt.h>
 #include <ctype.h>
 #include <sys/ioctl.h>
+
 #include <sys/select.h>
+#include <sys/time.h>
+#include <sys/types.h>
+#include <unistd.h>
 
 #include "proc/slab.h"
 #include "proc/version.h"