summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-24 11:10:13 +1100
committerDamien Miller <djm@mindrot.org>2000-09-24 11:10:13 +1100
commit72c9a7e958689740cb3449df5732e0956d52ef5b (patch)
tree70f861946c4e7750bd04cdd57fd7952da1c889fe /includes.h
parent62cee00753ef8ce31b322ce6a14318cb974e883d (diff)
- (djm) Merged cleanup patch from Mark Miller <markm@swoon.net>
- (djm) A bit more cleanup - created cygwin_util.h
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h34
1 files changed, 4 insertions, 30 deletions
diff --git a/includes.h b/includes.h
index da08722ec..b7b013745 100644
--- a/includes.h
+++ b/includes.h
@@ -46,10 +46,10 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
46#include <grp.h> 46#include <grp.h>
47#include <time.h> 47#include <time.h>
48#include <dirent.h> 48#include <dirent.h>
49#ifdef HAVE_CYGWIN 49
50#ifdef HAVE_GETOPT_H
50#include <getopt.h> 51#include <getopt.h>
51#endif 52#endif
52
53#ifdef HAVE_BSTRING_H 53#ifdef HAVE_BSTRING_H
54# include <bstring.h> 54# include <bstring.h>
55#endif 55#endif
@@ -90,34 +90,8 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
90#endif 90#endif
91 91
92#include "version.h" 92#include "version.h"
93
94/* OpenBSD function replacements */
95#include "openbsd-compat.h" 93#include "openbsd-compat.h"
96 94#include "cygwin_util.h"
97/* Entropy collection */
98#include "entropy.h" 95#include "entropy.h"
99 96
100/* Define this to be the path of the xauth program. */ 97#endif /* INCLUDES_H */
101#ifndef XAUTH_PATH
102#define XAUTH_PATH "/usr/X11R6/bin/xauth"
103#endif /* XAUTH_PATH */
104
105/* Define this to be the path of the rsh program. */
106#ifndef _PATH_RSH
107#define _PATH_RSH "/usr/bin/rsh"
108#endif /* _PATH_RSH */
109
110/*
111 * Define this to use pipes instead of socketpairs for communicating with the
112 * client program. Socketpairs do not seem to work on all systems.
113 */
114/* #define USE_PIPES 1 */
115
116#ifdef HAVE_CYGWIN
117#define open binary_open
118#define pipe binary_pipe
119extern int binary_open();
120extern int binary_pipe();
121#endif
122
123#endif /* INCLUDES_H */