mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
8821ef4be1
commit
2b895475f6
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue