Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 1 | From d623e9797b7ee9b3739a8a4afe1a01f7e03754aa Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Sun, 1 Nov 2020 20:08:49 +0000 |
| 4 | Subject: [PATCH] Add a missing include for htobe32 definition |
| 5 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 6 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/609] |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 8 | --- |
| 9 | tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c | 2 ++ |
| 10 | 1 file changed, 2 insertions(+) |
| 11 | |
| 12 | diff --git a/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c b/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c |
| 13 | index 5f45e0c23..c755ee29a 100644 |
| 14 | --- a/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c |
| 15 | +++ b/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c |
| 16 | @@ -34,6 +34,8 @@ |
| 17 | |
| 18 | #include "piglit-util-gl.h" |
| 19 | |
| 20 | +#include <endian.h> |
| 21 | + |
| 22 | #define IMAGE_WIDTH 60 |
| 23 | #define IMAGE_HEIGHT 60 |
| 24 | |
| 25 | -- |
| 26 | 2.17.1 |
| 27 | |