HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/src/glibc/debian/patches/kfreebsd/local-memusage_no_mremap.diff
---
 malloc/memusage.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/malloc/memusage.c
+++ b/malloc/memusage.c
@@ -674,6 +674,8 @@
   return result;
 }
 
+#include <_G_config.h>
+#ifdef _G_HAVE_MREMAP
 
 /* `mremap' replacement.  We do not have to keep track of the size since
    `munmap' will get it as a parameter.  */
@@ -739,6 +741,7 @@
   /* Return the pointer to the user buffer.  */
   return result;
 }
+#endif
 
 
 /* `munmap' replacement.  */