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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d6e921d86e4cb7115d044db9062ad237b54c657;p=apache 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 8fbbde8878..851334d0b2 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"