redhat4.patch

来自「网络端口的服务程序」· PATCH 代码 · 共 52 行

PATCH
52
字号
diff -ur portserver-0.1.1/connection.c portserver-0.1.1-new/connection.c
--- portserver-0.1.1/connection.c	Sun Oct 18 18:48:07 1998
+++ portserver-0.1.1-new/connection.c	Mon Oct 19 18:07:03 1998
@@ -7,6 +7,9 @@
 #include <syslog.h>
 #include <unistd.h>
 
+#include <sys/time.h>
+#include <sys/types.h>
+
 #include "buffer.h"
 #include "command.h"
 #include "connection.h"
diff -ur portserver-0.1.1/init.c portserver-0.1.1-new/init.c
--- portserver-0.1.1/init.c	Sun Oct 18 18:48:07 1998
+++ portserver-0.1.1-new/init.c	Mon Oct 19 18:07:52 1998
@@ -10,6 +10,8 @@
 #include <syslog.h>
 #include <unistd.h>
 
+#include <sys/time.h>
+
 #include "config.h"
 #include "connection.h"
 #include "port.h"
diff -ur portserver-0.1.1/port.c portserver-0.1.1-new/port.c
--- portserver-0.1.1/port.c	Sun Oct 18 18:48:07 1998
+++ portserver-0.1.1-new/port.c	Mon Oct 19 18:07:29 1998
@@ -6,6 +6,9 @@
 #include <termios.h>
 #include <unistd.h>
 
+#include <sys/time.h>
+#include <sys/types.h>
+
 #include "buffer.h"
 #include "connection.h"
 #include "lock.h"
diff -ur portserver-0.1.1/portserver.c portserver-0.1.1-new/portserver.c
--- portserver-0.1.1/portserver.c	Sun Oct 18 18:48:07 1998
+++ portserver-0.1.1-new/portserver.c	Mon Oct 19 18:08:11 1998
@@ -6,6 +6,9 @@
 #include <syslog.h>
 #include <unistd.h>
 
+#include <sys/time.h>
+#include <sys/types.h>
+
 #include "connection.h"
 #include "init.h"
 #include "port.h"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?