Use includes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@443 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -2,6 +2,8 @@ | ||||
| #include <config.h> | ||||
| #endif | ||||
|  | ||||
| #include "roken.h" | ||||
|  | ||||
| #include <sys/types.h> | ||||
| #include <sys/time.h> | ||||
| #include <sys/param.h> | ||||
|   | ||||
| @@ -2,6 +2,8 @@ | ||||
| #include <config.h> | ||||
| #endif | ||||
|  | ||||
| #include "roken.h" | ||||
|  | ||||
| #ifndef HAVE_HSTRERROR | ||||
|  | ||||
| #include <stdio.h> | ||||
|   | ||||
| @@ -2,7 +2,10 @@ | ||||
| #include <config.h> | ||||
| #endif | ||||
|  | ||||
| #include "roken.h" | ||||
|  | ||||
| #include <sys/types.h> | ||||
| #include <stdio.h> | ||||
| #include <netinet/in.h> | ||||
| #include <netdb.h> | ||||
|  | ||||
|   | ||||
| @@ -42,7 +42,9 @@ char *hstrerror(int herr); | ||||
|  | ||||
| #ifndef HAVE_INET_ATON | ||||
| /* Minimal implementation of inet_aton. Doesn't handle hex numbers. */ | ||||
| #ifndef __GNUC__ | ||||
| int inet_aton(char *cp, struct in_addr *adr); | ||||
| #endif | ||||
| #endif | ||||
|  | ||||
| #endif /*  __ROKEN_H__ */ | ||||
|   | ||||
| @@ -42,7 +42,9 @@ char *hstrerror(int herr); | ||||
|  | ||||
| #ifndef HAVE_INET_ATON | ||||
| /* Minimal implementation of inet_aton. Doesn't handle hex numbers. */ | ||||
| #ifndef __GNUC__ | ||||
| int inet_aton(char *cp, struct in_addr *adr); | ||||
| #endif | ||||
| #endif | ||||
|  | ||||
| #endif /*  __ROKEN_H__ */ | ||||
|   | ||||
| @@ -4,7 +4,10 @@ | ||||
|  | ||||
| RCSID("$Id$"); | ||||
|  | ||||
| #include "roken.h" | ||||
|  | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
|  | ||||
| /* | ||||
|  * This is the easy way out, use putenv to implement setenv. We might | ||||
|   | ||||
| @@ -2,11 +2,13 @@ | ||||
| #include <config.h> | ||||
| #endif | ||||
|  | ||||
| RCSID("$Id$"); | ||||
|  | ||||
| #include "roken.h" | ||||
|  | ||||
| #include <stdio.h> | ||||
| #include <stdarg.h> | ||||
|  | ||||
| RCSID("$Id$"); | ||||
|  | ||||
| int snprintf(char *s, int n, const char *fmt, ...) | ||||
| { | ||||
|   int ret; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Björn Groenvall
					Björn Groenvall