summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-11 10:40:23 +1100
committerDamien Miller <djm@mindrot.org>1999-11-11 10:40:23 +1100
commitab18c412e6773b34e4640e4b9277573fd91a66bf (patch)
treef0ab48cd9e112a4d866785d2a5b64eda39986b4e /includes.h
parentb77870fa7341d95024e55a116a3454e9bfe2f21e (diff)
- Added (untested) Entropy Gathering Daemon (EGD) support
- Merged several minor fixed: - ssh-agent commandline parsing - RPM spec file now installs ssh setuid root - Makefile creates libdir - Merged beginnings of Solaris compability from Marc G. Fournier <marc.fournier@acadiau.ca>
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/includes.h b/includes.h
index a1a6da6b..198e7297 100644
--- a/includes.h
+++ b/includes.h
@@ -37,7 +37,6 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
#include <arpa/inet.h>
#include <netdb.h>
-#include <endian.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
@@ -52,13 +51,18 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
#include <grp.h>
#include <unistd.h>
#include <time.h>
-#include <paths.h>
#include <dirent.h>
-#include "version.h"
-
#include "config.h"
+#ifdef HAVE_PATHS_H
+# include <paths.h>
+#endif
+#ifdef HAVE_ENDIAN_H
+# include <endian.h>
+#endif
+
+#include "version.h"
#include "helper.h"
#include "mktemp.h"
#include "strlcpy.h"