include libutil.h if it exists

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10515 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-08-21 23:09:03 +00:00
parent 4d28b080a6
commit 7d75a2a5f5
3 changed files with 9 additions and 0 deletions

View File

@@ -142,6 +142,9 @@ char wtmpf[] = "/etc/wtmp";
#ifdef HAVE_UTIL_H
#include <util.h>
#endif
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
#endif
# ifndef TCSANOW
# ifdef TCSETS

View File

@@ -77,6 +77,9 @@
#ifdef HAVE_UTIL_H
#include <util.h>
#endif
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
#endif
#include <err.h>
#include <roken.h>
#include <getarg.h>

View File

@@ -92,6 +92,9 @@
#ifdef HAVE_UTIL_H
#include <util.h>
#endif
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
#endif
#include <err.h>
#include <roken.h>
#include <getarg.h>