Use includes

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@443 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1996-04-29 11:56:03 +00:00
parent 49c98b25ab
commit 8d904e4fb6
7 changed files with 18 additions and 2 deletions

View File

@@ -2,6 +2,8 @@
#include <config.h>
#endif
#include "roken.h"
#include <sys/types.h>
#include <sys/time.h>
#include <sys/param.h>

View File

@@ -2,6 +2,8 @@
#include <config.h>
#endif
#include "roken.h"
#ifndef HAVE_HSTRERROR
#include <stdio.h>

View File

@@ -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>

View File

@@ -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__ */

View File

@@ -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__ */

View File

@@ -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

View File

@@ -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;