commit:     1464920f117ac8a14c294115f44f2872d80c7509
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 10 13:42:59 2026 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 13:42:59 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=1464920f

libq/array.h: include what's actually needed/used

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 libq/array.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/libq/array.h b/libq/array.h
index afd8332..cb84d1c 100644
--- a/libq/array.h
+++ b/libq/array.h
@@ -7,11 +7,10 @@
  * Copyright 2018-     Fabian Groffen  - <[email protected]>
  */
 
-#ifndef _XARRAY_H
-#define _XARRAY_H 1
+#ifndef _ARRAY_H
+#define _ARRAY_H 1
 
-#include <stdlib.h>
-#include <xalloc.h>
+#include <string.h>  /* strlen in push_str */
 
 typedef struct {
        void **eles;

Reply via email to