From 58319e9d27ac127dca4fd5430878bbd2aef111f5 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 15 Feb 1999 21:05:17 +0000 Subject: [PATCH] (mkstemp, gethostname): also includes prototypes if they are needed. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5368 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 05525ca22..85ba2540b 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -260,7 +260,7 @@ int setegid(gid_t egid); int lstat(const char *path, struct stat *buf); #endif -#ifndef HAVE_MKSTEMP +#if !defined(HAVE_MKSTEMP) || defined(NEED_MKSTEMP_PROTO) int mkstemp(char *); #endif @@ -286,7 +286,7 @@ int iruserok(unsigned raddr, int superuser, const char *ruser, const char *luser); #endif -#ifndef HAVE_GETHOSTNAME +#if !defined(HAVE_GETHOSTNAME) || defined(NEED_GETHOSTNAME_PROTO) int gethostname(char *name, int namelen); #endif