[Mesa-dev] [Bug 99918] disk_cache.h:57:20: error: no member named 'st_mtim' in 'struct stat'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 25 07:40:19 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99918

Vinson Lee <vlee at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Vinson Lee <vlee at freedesktop.org> ---
commit 30a4b25efe005c922f048beaf62852714d2462a1
Author: Vinson Lee <vlee at 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 at freedesktop.org>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170225/2858ea29/attachment.html>


More information about the mesa-dev mailing list