Another NetBSD build fix
Add a HAVE_OPENPTY definition, and move NetBSD definitions into their own block, for clarity.
This commit is contained in:
committed by
GitHub
parent
11c706d3ad
commit
d0a1fd39b9
+7
-1
@@ -32,11 +32,17 @@
|
||||
#define HAVE_LIBUTIL_H
|
||||
#endif
|
||||
|
||||
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
#if defined(__OpenBSD__)
|
||||
#define HAVE_LOGIN
|
||||
#define HAVE_UTIL_H
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#define HAVE_LOGIN
|
||||
#define HAVE_UTIL_H
|
||||
#define HAVE_OPENPTY
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#define HAVE_OPENPTY
|
||||
#define HAVE_UTIL_H
|
||||
|
||||
Reference in New Issue
Block a user