)]}'
{
  "commit": "317b8b50ea64a17ca0d185e93ece101a22b4c326",
  "tree": "7d87b9323d1811e5a3082214ab1185635c9cb0a2",
  "parents": [
    "66eb859892822ab5e0ebfd5d4ba6a841e25f431b"
  ],
  "author": {
    "name": "Dmitry Baryshkov",
    "email": "dmitry.baryshkov@oss.qualcomm.com",
    "time": "Wed Jun 17 20:09:38 2026 +0300"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jun 17 10:09:38 2026 -0700"
  },
  "message": "Fix syscall() undeclared error if built with stricter build options (#374)\n\nIf cpuinfo is built with a stricer build flags, it fails on some systems\nwith the undeclared function error, because on Glibc syscall() is not a\npart of the headers unless one of the feature macros is defined. Add the\nleast intrusive one, _DEFAULT_SOURCE.\n\ncpuinfo/src/api.c:319:23: error: call to undeclared function \u0027syscall\u0027; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]\n                if CPUINFO_UNLIKELY(syscall(__NR_getcpu, \u0026cpu, NULL, NULL) !\u003d 0) {\n                                    ^\ncpuinfo/src/api.c:338:23: error: call to undeclared function \u0027syscall\u0027; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]\n                if CPUINFO_UNLIKELY(syscall(__NR_getcpu, \u0026cpu, NULL, NULL) !\u003d 0) {\n\nCloses #171",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b8c999f32c01d6e0c3120ee1d73fbff2926af184",
      "old_mode": 33188,
      "old_path": "src/api.c",
      "new_id": "846235a90e3e12940c1822c7a93ffabb39f26936",
      "new_mode": 33188,
      "new_path": "src/api.c"
    }
  ]
}
