Subject: compilation error in function 'same_file'

From: Bruno Haible <[email-masked]>
Date: Sun, 09 Jun 2024 23:52:28 +0200

Compiling the current git master on
  - macOS
  - FreeBSD
  - NetBSD
  - Cygwin
  - mingw
  - MSVC

I get a compilation error:

  CC       system.o
../../src/system.c: In function 'same_file':
../../src/system.c:73:3: error: unknown type name 'timespec'; use 'struct' keyword to refer to the type
   73 |   timespec sbirth = get_stat_birthtime (s);
      |   ^~~~~~~~
      |   struct 

or

  CC       system.o
../../src/system.c:73:3: error: must use 'struct' tag to refer to type 'timespec'
  timespec sbirth = get_stat_birthtime (s);
  ^

To me, it looks like a regression in commit 1fa953a0c415cc65d0afdae2c9de0ad2bd2944eb.

Bruno