From: Jeff Trawick Date: Wed, 21 Nov 2001 16:22:05 +0000 (+0000) Subject: when this module's resolver calls were apr-ized recently we removed X-Git-Tag: 2.0.29~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fcd2d1bd89c6a1d70a0bac2b403865e4f4959065;p=thirdparty%2Fapache%2Fhttpd.git when this module's resolver calls were apr-ized recently we removed the include of specific system header files; this left the opportunity for htons() to be undefined... do something explicit for htons() so we don't have to worry about what apr_network_io.h brings with it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92091 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/metadata/mod_unique_id.c b/modules/metadata/mod_unique_id.c index 8fbbde8878d..851334d0b26 100644 --- a/modules/metadata/mod_unique_id.c +++ b/modules/metadata/mod_unique_id.c @@ -63,6 +63,8 @@ * UUencoding modified by: Alvaro Martinez Echevarria */ +#define APR_WANT_BYTEFUNC /* for htons() et al */ +#include "apr_want.h" #include "apr_general.h" /* for APR_XtOffsetOf */ #include "apr_network_io.h"