You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Alexei Kosut <ak...@hyperreal.com> on 1996/06/17 22:52:08 UTC
cvs commit: apache/src conf.h mod_auth_msql.c
akosut 96/06/17 13:52:08
Modified: src conf.h mod_auth_msql.c
Log:
Only #include <crypt.h> on those systems that have it.
Submitted by: Randy Terbush
Revision Changes Path
1.14 +3 -0 apache/src/conf.h
Index: conf.h
===================================================================
RCS file: /export/home/cvs/apache/src/conf.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C3 -r1.13 -r1.14
*** conf.h 1996/06/13 20:33:02 1.13
--- conf.h 1996/06/17 20:52:04 1.14
***************
*** 82,87 ****
--- 82,88 ----
#define JMP_BUF sigjmp_buf
#define FCNTL_SERIALIZED_ACCEPT
#define HAVE_MMAP
+ #define HAVE_CRYPT_H
#elif defined(IRIX)
#undef HAS_GMTOFF
***************
*** 90,95 ****
--- 91,97 ----
#define JMP_BUF sigjmp_buf
#define FCNTL_SERIALIZED_ACCEPT
#define HAVE_SHMGET
+ #define HAVE_CRYPT_H
#elif defined(HPUX)
#define HAVE_RESOURCE 1
***************
*** 128,133 ****
--- 130,136 ----
#undef NO_SETSID
#define JMP_BUF sigjmp_buf
#define HAVE_MMAP
+ #define HAVE_CRYPT_H
#elif defined(SEQUENT)
#define HAS_GMTOFF
1.8 +2 -0 apache/src/mod_auth_msql.c
Index: mod_auth_msql.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_auth_msql.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C3 -r1.7 -r1.8
*** mod_auth_msql.c 1996/06/13 03:49:20 1.7
--- mod_auth_msql.c 1996/06/17 20:52:05 1.8
***************
*** 392,398 ****
--- 392,400 ----
#include "http_log.h"
#include "http_protocol.h"
#include <msql.h>
+ #ifdef HAVE_CRYPT_H
#include <crypt.h>
+ #endif
typedef struct {