diff --git a/autobuild.xml b/autobuild.xml
index d4ebe848cb..5e5e295c63 100644
--- a/autobuild.xml
+++ b/autobuild.xml
@@ -396,11 +396,11 @@
archive
name
darwin64
@@ -410,11 +410,11 @@
archive
name
linux64
@@ -424,11 +424,11 @@
archive
name
windows64
@@ -441,7 +441,7 @@
copyright
Copyright © 2012 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
version
- 1.7.5-12259255574
+ 1.7.5-18696779749
name
apr_suite
description
diff --git a/indra/cmake/APR.cmake b/indra/cmake/APR.cmake
index ed5a651b61..e0807a7d19 100644
--- a/indra/cmake/APR.cmake
+++ b/indra/cmake/APR.cmake
@@ -31,12 +31,3 @@ if(DARWIN)
endif()
target_include_directories(ll::apr SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/apr-1)
-
-# Hotfix incorrect check in APR header
-file(READ ${LIBS_PREBUILT_DIR}/include/apr-1/apr.h APR_HEADER_CONTENTS)
-string(FIND "${APR_HEADER_CONTENTS}" "#if !(defined(__attribute__) || defined(__has_attribute))" ATTRIBUTE_TYPEDEF_POS)
-if (${ATTRIBUTE_TYPEDEF_POS} GREATER -1)
- string(REPLACE "#if !(defined(__attribute__) || defined(__has_attribute))" "#if !defined(__attribute__)" APR_HEADER_CONTENTS "${APR_HEADER_CONTENTS}")
- file(WRITE ${LIBS_PREBUILT_DIR}/include/apr-1/apr.h "${APR_HEADER_CONTENTS}")
-endif()
-#