On 10.11.2017 13:35, Jon Turney wrote:
On 06/11/2017 10:23, Nicolai Hähnle wrote:
diff --git a/src/gallium/auxiliary/os/os_time.h b/src/util/os_time.h
similarity index 89%
rename from src/gallium/auxiliary/os/os_time.h
rename to src/util/os_time.h
index ca0bdd5a0c4..049ab118db2 100644
--- a/src/gallium/auxiliary/os/os_time.h
+++ b/src/util/os_time.h
@@ -28,34 +28,29 @@
  /**
   * @file
   * OS independent time-manipulation functions.
   *
   * @author Jose Fonseca <jfons...@vmware.com>
   */
  #ifndef _OS_TIME_H_
  #define _OS_TIME_H_
-
-#include "pipe/p_config.h"
-
-#if defined(PIPE_OS_UNIX)
-#  include <unistd.h> /* usleep */
-#endif
-
-#include "pipe/p_compiler.h"
-
+#include <stdbool.h>
+#include <stdint.h>
  #ifdef __cplusplus
  extern "C" {
  #endif

This patch seems to drop the include of unistd.h, which may be needed for usleep() prototype.

(See http://dronecode.duckdns.org:8010/builders/mesa-mesa/builds/5790)

Patch attached.

Thanks! Patch is:

Reviewed-by: Nicolai Hähnle <nicolai.haeh...@amd.com>

Do you need me to push it for you?

--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to