summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-07-22 01:31:59 +0000
committerJeremy Allison <jra@samba.org>1998-07-22 01:31:59 +0000
commit781c9e50820e3bc2b11e15bbff2f16b6ad74f26a (patch)
tree1e6a57a5f794c0e0f834d4b1d1b2a9d7ba464527 /source3/include
parent8668f6eac1abfcc040515490e1dfc8587bd4fde6 (diff)
downloadsamba-781c9e50820e3bc2b11e15bbff2f16b6ad74f26a.tar.gz
samba-781c9e50820e3bc2b11e15bbff2f16b6ad74f26a.tar.bz2
samba-781c9e50820e3bc2b11e15bbff2f16b6ad74f26a.zip
includes.h: Added feature type USE_GRANTPT for pty code.
chgpasswd.c: Updated to use USE_GRANTPT feature definition. Jeremy. (This used to be commit 953c5dbbae8c1370e5988619746b508f26cb0390)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 69692e5847..d72595b6b4 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -342,6 +342,7 @@ extern int innetgr (const char *, const char *, const char *, const char *);
#ifndef QSORT_CAST
#define QSORT_CAST (int (*)(const void *, const void *))
#endif /* QSORT_CAST */
+#define USE_GRANTPT
#endif
@@ -387,16 +388,18 @@ char *getwd(char *);
#include <string.h>
#include <signal.h>
#include <dirent.h>
+#include <termios.h>
#define USE_WAITPID
#define NETGROUP
#ifndef SYSV
#define SYSV
-#endif
+#endif /* SYSV */
#define SIGNAL_CAST (void (*)())
#define USE_STATVFS
#define USE_WAITPID
#define USE_SETSID
#define USE_SYSV_IPC
+#define USE_GRANTPT
#ifndef QSORT_CAST
#define QSORT_CAST (int (*)(const void *, const void *))
#endif /* QSORT_CAST */
@@ -458,6 +461,7 @@ extern struct passwd *getpwnam();
#define USE_SETSID
#define USE_SYSV_IPC
#define NO_SEMUN
+#define USE_GRANTPT
#endif