diff options
-rw-r--r-- | auth-pam.c | 3 | ||||
-rw-r--r-- | entropy.c | 2 | ||||
-rw-r--r-- | openbsd-compat/bsd-openpty.c | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/auth-pam.c b/auth-pam.c index 0cd2b0019..5a3ba09b4 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -100,6 +100,7 @@ extern char *__progname; | |||
100 | #include "servconf.h" | 100 | #include "servconf.h" |
101 | #include "ssh2.h" | 101 | #include "ssh2.h" |
102 | #include "auth-options.h" | 102 | #include "auth-options.h" |
103 | #include "misc.h" | ||
103 | #ifdef GSSAPI | 104 | #ifdef GSSAPI |
104 | #include "ssh-gss.h" | 105 | #include "ssh-gss.h" |
105 | #endif | 106 | #endif |
@@ -151,7 +152,7 @@ static struct pam_ctxt *cleanup_ctxt; | |||
151 | */ | 152 | */ |
152 | 153 | ||
153 | static int sshpam_thread_status = -1; | 154 | static int sshpam_thread_status = -1; |
154 | static mysig_t sshpam_oldsig; | 155 | static sshsig_t sshpam_oldsig; |
155 | 156 | ||
156 | static void | 157 | static void |
157 | sshpam_sigchld_handler(int sig) | 158 | sshpam_sigchld_handler(int sig) |
@@ -84,7 +84,7 @@ get_random_bytes_prngd(unsigned char *buf, int len, | |||
84 | struct sockaddr_storage addr; | 84 | struct sockaddr_storage addr; |
85 | struct sockaddr_in *addr_in = (struct sockaddr_in *)&addr; | 85 | struct sockaddr_in *addr_in = (struct sockaddr_in *)&addr; |
86 | struct sockaddr_un *addr_un = (struct sockaddr_un *)&addr; | 86 | struct sockaddr_un *addr_un = (struct sockaddr_un *)&addr; |
87 | mysig_t old_sigpipe; | 87 | sshsig_t old_sigpipe; |
88 | 88 | ||
89 | /* Sanity checks */ | 89 | /* Sanity checks */ |
90 | if (socket_path == NULL && tcp_port == 0) | 90 | if (socket_path == NULL && tcp_port == 0) |
diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c index b6b5ab49b..1ab41f42b 100644 --- a/openbsd-compat/bsd-openpty.c +++ b/openbsd-compat/bsd-openpty.c | |||
@@ -65,6 +65,8 @@ | |||
65 | #include <string.h> | 65 | #include <string.h> |
66 | #include <unistd.h> | 66 | #include <unistd.h> |
67 | 67 | ||
68 | #include "misc.h" | ||
69 | |||
68 | #ifndef O_NOCTTY | 70 | #ifndef O_NOCTTY |
69 | #define O_NOCTTY 0 | 71 | #define O_NOCTTY 0 |
70 | #endif | 72 | #endif |
@@ -97,7 +99,7 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp, | |||
97 | */ | 99 | */ |
98 | int ptm; | 100 | int ptm; |
99 | char *pts; | 101 | char *pts; |
100 | mysig_t old_signal; | 102 | sshsig_t old_signal; |
101 | 103 | ||
102 | if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) | 104 | if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) |
103 | return (-1); | 105 | return (-1); |