init
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user