util: Remove u_math from u_vector

u_vector.h doesn't actually use anything from u_math, but it does mean
everyone has to pull in src/gallium/auxiliary/util includes.

Just remove it, adding a <string.h> include to u_vector.c to cover
memcpy.

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Daniel Stone
2017-06-09 14:57:20 +01:00
parent 8821ef4be1
commit 2b895475f6
2 changed files with 3 additions and 1 deletions

View File

@@ -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 */