]> granicus.if.org Git - apache/commitdiff
when this module's resolver calls were apr-ized recently we removed
authorJeff Trawick <trawick@apache.org>
Wed, 21 Nov 2001 16:22:05 +0000 (16:22 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 21 Nov 2001 16:22:05 +0000 (16:22 +0000)
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

modules/metadata/mod_unique_id.c

index 8fbbde8878d1d1973680f9f45fb7279bd6977d28..851334d0b26426b23ac1cf4fedb45f2938f41b81 100644 (file)
@@ -63,6 +63,8 @@
  * UUencoding modified by: Alvaro Martinez Echevarria <alvaro@lander.es>
  */
 
+#define APR_WANT_BYTEFUNC   /* for htons() et al */
+#include "apr_want.h"
 #include "apr_general.h"    /* for APR_XtOffsetOf                */
 #include "apr_network_io.h"