summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/u_vector.c3
-rw-r--r--src/util/u_vector.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/util/u_vector.c b/src/util/u_vector.c
index 37c4245ebe4..4dc7bc22b69 100644
--- a/src/util/u_vector.c
+++ b/src/util/u_vector.c
@@ -20,6 +20,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
+
+#include <string.h>
+#include "util/u_math.h"
#include "util/u_vector.h"
int
diff --git a/src/util/u_vector.h b/src/util/u_vector.h
index c0e199cfa5a..cd8a95dcbe3 100644
--- a/src/util/u_vector.h
+++ b/src/util/u_vector.h
@@ -31,7 +31,6 @@
#include <stdint.h>
#include <stdlib.h>
-#include "util/u_math.h"
#include "util/macros.h"
/* TODO - move to u_math.h - name it better etc */