This commit is contained in:
Michal S.
2026-08-04 17:59:44 +01:00
commit 69071efd58
123 changed files with 7728 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
--- a/gethost.c
+++ b/gethost.c
@@ -29,7 +29,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-#include "sh.h"
+#include <assert.h>
+#include <ctype.h>
+#include <stddef.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#ifdef SCO
# define perror __perror
@@ -45,8 +50,7 @@
# undef system
#endif
-#include <ctype.h>
-#include <assert.h>
+#define INBUFSIZE 8192
#define ISSPACE(p) (isspace((unsigned char) (p)) && (p) != '\n')