]> granicus.if.org Git - procps-ng/commitdiff
ps: include error.h
authorMike Frysinger <vapier@gentoo.org>
Tue, 24 Jan 2012 05:44:05 +0000 (00:44 -0500)
committerSami Kerola <kerolasa@iki.fi>
Tue, 24 Jan 2012 07:55:05 +0000 (08:55 +0100)
This code currently uses error_at_line() from error.h, so pull it in.
Long term, this might get moved to c.h as a local helper on err.h,
but I have no idea.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ps/global.c

index 22cf3ef3f4100bd6ce596047612a92469b6732ff..5bddb8c8d6f1587ff177726b5f5c36dab1d1e04b 100644 (file)
@@ -17,6 +17,7 @@
 #include <string.h>
 #include <termios.h>
 #include <unistd.h>
+#include <error.h>
 
 #include <sys/ioctl.h>
 #include <sys/stat.h>