aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-18 23:50:10 +0000
committerRichard M. Stallman1994-10-18 23:50:10 +0000
commit625ad89f2a487f48f7436865b31d82e96247890f (patch)
tree3e36af56b502729e80d725873310fa6d3c30b49c /lib-src
parent51eebc4f4c3d2d98495396c2bd73de3fe61b4f80 (diff)
downloademacs-625ad89f2a487f48f7436865b31d82e96247890f.tar.gz
emacs-625ad89f2a487f48f7436865b31d82e96247890f.zip
Fix mismatch in conditionals.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/pop.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/lib-src/pop.c b/lib-src/pop.c
index 3acacaa8919..66b26907105 100644
--- a/lib-src/pop.c
+++ b/lib-src/pop.c
@@ -32,10 +32,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
32#include <netinet/in.h> 32#include <netinet/in.h>
33#include <sys/socket.h> 33#include <sys/socket.h>
34#include <pop.h> 34#include <pop.h>
35
35#ifdef sun 36#ifdef sun
36#include <malloc.h> 37#include <malloc.h>
37#endif 38#endif
38#endif 39
39#ifdef HESIOD 40#ifdef HESIOD
40#include <hesiod.h> 41#include <hesiod.h>
41/* 42/*
@@ -46,10 +47,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
46 */ 47 */
47extern struct servent *hes_getservbyname (/* char *, char * */); 48extern struct servent *hes_getservbyname (/* char *, char * */);
48#endif 49#endif
50
49#include <pwd.h> 51#include <pwd.h>
50#include <netdb.h> 52#include <netdb.h>
51#include <errno.h> 53#include <errno.h>
52#include <stdio.h> 54#include <stdio.h>
55
56extern char *getenv (/* char * */);
57extern char *getlogin (/* void */);
58extern char *getpass (/* char * */);
59extern char *strerror (/* int */);
60
53#ifdef KERBEROS 61#ifdef KERBEROS
54#ifndef KRB5 62#ifndef KRB5
55#include <des.h> 63#include <des.h>
@@ -60,12 +68,6 @@ extern struct servent *hes_getservbyname (/* char *, char * */);
60#include <ctype.h> 68#include <ctype.h>
61#endif /* KRB5 */ 69#endif /* KRB5 */
62 70
63extern char *getenv (/* char * */);
64extern char *getlogin (/* void */);
65extern char *getpass (/* char * */);
66extern char *strerror (/* int */);
67
68#ifdef KERBEROS
69extern int krb_sendauth (/* long, int, KTEXT, char *, char *, char *, 71extern int krb_sendauth (/* long, int, KTEXT, char *, char *, char *,
70 u_long, MSG_DAT *, CREDENTIALS *, Key_schedule, 72 u_long, MSG_DAT *, CREDENTIALS *, Key_schedule,
71 struct sockaddr_in *, struct sockaddr_in *, 73 struct sockaddr_in *, struct sockaddr_in *,