nixpkgs/pkgs/tools/networking/darkstat
Claudio Bley fae6a45e92 darkstat: Fix build on darwin
On recent macOS the build fails with:
```
now.c:33:16: error: typedef redefinition with different types ('int' vs 'enum clockid_t')
   typedef int clockid_t;
               ^
/nix/store/4df4jhlj71vblmxhrr7dkkqpak8a42c8-Libsystem-1238.60.2/include/time.h:171:3: note: previous definition is here
} clockid_t;
  ^
now.c:34:11: warning: 'CLOCK_REALTIME' macro redefined [-Wmacro-redefined]
          ^
/nix/store/4df4jhlj71vblmxhrr7dkkqpak8a42c8-Libsystem-1238.60.2/include/time.h:154:9: note: previous definition is here
        ^
now.c:35:11: warning: 'CLOCK_MONOTONIC' macro redefined [-Wmacro-redefined]
          ^
/nix/store/4df4jhlj71vblmxhrr7dkkqpak8a42c8-Libsystem-1238.60.2/include/time.h:156:9: note: previous definition is here
        ^
2 warnings and 1 error generated.
```
2022-05-12 17:42:27 +02:00
..
default.nix darkstat: Fix build on darwin 2022-05-12 17:42:27 +02:00