66 lines
1.3 KiB
Diff
66 lines
1.3 KiB
Diff
--- deviate.c.orig
|
|
+++ deviate.c
|
|
@@ -178,6 +178,7 @@
|
|
#include <stdio.h>
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
+#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <limits.h>
|
|
#include <memory.h>
|
|
--- procdbase.c.orig
|
|
+++ procdbase.c
|
|
@@ -67,7 +67,7 @@
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
#include <string.h>
|
|
-#include <malloc.h>
|
|
+#include <stdlib.h>
|
|
|
|
#include "atop.h"
|
|
#include "photoproc.h"
|
|
--- showgeneric.c.orig
|
|
+++ showgeneric.c
|
|
@@ -268,7 +268,7 @@
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
#include <string.h>
|
|
-#include <termio.h>
|
|
+#include <termios.h>
|
|
#include <unistd.h>
|
|
#include <stdarg.h>
|
|
#include <curses.h>
|
|
--- showlinux.c.orig
|
|
+++ showlinux.c
|
|
@@ -274,7 +274,7 @@
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
-#include <termio.h>
|
|
+#include <termios.h>
|
|
#include <unistd.h>
|
|
#include <stdarg.h>
|
|
#include <curses.h>
|
|
--- showprocs.c.orig
|
|
+++ showprocs.c
|
|
@@ -94,7 +94,7 @@
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
-#include <termio.h>
|
|
+#include <termios.h>
|
|
#include <unistd.h>
|
|
#include <stdarg.h>
|
|
#include <curses.h>
|
|
--- showsys.c.orig
|
|
+++ showsys.c
|
|
@@ -80,7 +80,7 @@
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
-#include <termio.h>
|
|
+#include <termios.h>
|
|
#include <unistd.h>
|
|
#include <stdarg.h>
|
|
#include <curses.h>
|