]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
* lib/obstack.in.h: Move <string.h> include.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 May 2025 21:02:15 +0000 (14:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 May 2025 21:16:20 +0000 (14:16 -0700)
This is merely to make the glibc reviewer’s job easier,
since the include location doesn’t matter.

lib/obstack.in.h

index 0f2677dba45016e225b0880d31122a0930caf934..f53b78c15ce96568d47e48564dd391e104c0b44e 100644 (file)
 # endif
 #endif
 
-#include <string.h>             /* For memcpy, size_t.  */
-
 /* These macros highlight the places where this implementation
    is different from the one in GNU libc.  */
 #if defined __GL_GNULIB_HEADER
    ((P) + ((- (_OBSTACK_UINTPTR_TYPE) (P)) & (A)))
 #endif
 
+/* For memcpy, size_t.  */
+#include <string.h>
+
 #ifndef __attribute_pure__
 # define __attribute_pure__ _GL_ATTRIBUTE_PURE
 #endif