patch taken from sabotage linux -- https://github.com/rofl0r/sabotage

--- util-linux-2.23.2.orig/text-utils/pg.c	2013-07-30 10:39:26.000000000 +0200
+++ util-linux-2.23.2/text-utils/pg.c	2013-08-14 12:44:55.000000000 +0200
@@ -37,7 +37,7 @@
 #ifndef	TIOCGWINSZ
 # include <sys/ioctl.h>
 #endif
-#include <sys/termios.h>
+#include <termios.h>
 #include <fcntl.h>
 #include <regex.h>
 #include <stdio.h>
