Summary: | disk_cache.h:57:20: error: no member named 'st_mtim' in 'struct stat' | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | nhaehnle, t_arceri |
Version: | git | Keywords: | bisected, regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Mac OS X (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2017-02-23 08:05:30 UTC
Which compile options? (In reply to Ernst Sjöstrand from comment #1) > Which compile options? $ ./autogen.sh --disable-dri --disable-gbm --disable-egl --with-dri-drivers=swrast --with-gallium-drivers=swrast commit 30a4b25efe005c922f048beaf62852714d2462a1 Author: Vinson Lee <vlee@freedesktop.org> Date: Thu Feb 23 13:48:34 2017 -0800 util/disk_cache: Use backward compatible st_mtime. Fix Mac OS X build error. CC libmesautil_la-disk_cache.lo In file included from disk_cache.c:46: ./disk_cache.h:57:20: error: no member named 'st_mtim' in 'struct stat' *timestamp = st.st_mtim.tv_sec; ~~ ^ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99918 Fixes: 207e3a6e4b ("util/radv: move *_get_function_timestamp() to utils") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.