projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
995c576
)
Added fix for undefined INADDR_NONE on Solaris by Bart Schelstraete
author
oes
<oes@users.sourceforge.net>
Mon, 25 Mar 2002 22:12:45 +0000
(22:12 +0000)
committer
oes
<oes@users.sourceforge.net>
Mon, 25 Mar 2002 22:12:45 +0000
(22:12 +0000)
filters.h
patch
|
blob
|
history
gateway.h
patch
|
blob
|
history
diff --git
a/filters.h
b/filters.h
index
3ff19b8
..
66c1aae
100644
(file)
--- a/
filters.h
+++ b/
filters.h
@@
-1,6
+1,6
@@
#ifndef FILTERS_H_INCLUDED
#define FILTERS_H_INCLUDED
#ifndef FILTERS_H_INCLUDED
#define FILTERS_H_INCLUDED
-#define FILTERS_H_VERSION "$Id: filters.h,v 1.1
6 2002/01/17 21:01:02 jongfoster
Exp $"
+#define FILTERS_H_VERSION "$Id: filters.h,v 1.1
7 2002/03/24 13:25:43 swa
Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.h,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.h,v $
@@
-39,6
+39,9
@@
*
* Revisions :
* $Log: filters.h,v $
*
* Revisions :
* $Log: filters.h,v $
+ * Revision 1.17 2002/03/24 13:25:43 swa
+ * name change related issues
+ *
* Revision 1.16 2002/01/17 21:01:02 jongfoster
* Moving all our URL and URL pattern parsing code to urlmatch.c.
*
* Revision 1.16 2002/01/17 21:01:02 jongfoster
* Moving all our URL and URL pattern parsing code to urlmatch.c.
*
@@
-247,6
+250,13
@@
extern char *pcrs_filter_response(struct client_state *csp);
extern char *gif_deanimate_response(struct client_state *csp);
extern int remove_chunked_transfer_coding(char *buffer, const size_t size);
extern char *gif_deanimate_response(struct client_state *csp);
extern int remove_chunked_transfer_coding(char *buffer, const size_t size);
+/*
+ * Solaris fix:
+ */
+#ifndef INADDR_NONE
+#define INADDR_NONE -1
+#endif
+
/*
* Revision control strings from this header and associated .c file
*/
/*
* Revision control strings from this header and associated .c file
*/
diff --git
a/gateway.h
b/gateway.h
index
0974003
..
b36d7a4
100644
(file)
--- a/
gateway.h
+++ b/
gateway.h
@@
-1,6
+1,6
@@
#ifndef GATEWAY_H_INCLUDED
#define GATEWAY_H_INCLUDED
#ifndef GATEWAY_H_INCLUDED
#define GATEWAY_H_INCLUDED
-#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.
4 2002/03/09 20:03:52 jongfoster
Exp $"
+#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.
5 2002/03/24 13:25:43 swa
Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/gateway.h,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/gateway.h,v $
@@
-36,6
+36,9
@@
*
* Revisions :
* $Log: gateway.h,v $
*
* Revisions :
* $Log: gateway.h,v $
+ * Revision 1.5 2002/03/24 13:25:43 swa
+ * name change related issues
+ *
* Revision 1.4 2002/03/09 20:03:52 jongfoster
* - Making various functions return int rather than size_t.
* (Undoing a recent change). Since size_t is unsigned on
* Revision 1.4 2002/03/09 20:03:52 jongfoster
* - Making various functions return int rather than size_t.
* (Undoing a recent change). Since size_t is unsigned on
@@
-91,7
+94,16
@@
extern jb_socket forwarded_connect(const struct forward_spec * fwd,
struct http_request *http,
struct client_state *csp);
struct http_request *http,
struct client_state *csp);
-/* Revision control strings from this header and associated .c file */
+/*
+ * Solaris fix
+ */
+#ifndef INADDR_NONE
+#define INADDR_NONE -1
+#endif
+
+/*
+ * Revision control strings from this header and associated .c file
+ */
extern const char gateway_rcs[];
extern const char gateway_h_rcs[];
extern const char gateway_rcs[];
extern const char gateway_h_rcs[];