[OpenSIPS-Devel] [OpenSIPS/opensips] 24c8ee: Fix compiler warnings with -DUSE_FUTEX

Liviu Chircu noreply at github.com
Thu Jun 17 13:58:19 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 24c8ee9ed38ccc41ef45dce3065b9d88cb959782
      https://github.com/OpenSIPS/opensips/commit/24c8ee9ed38ccc41ef45dce3065b9d88cb959782
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M db/db_ut.c
    M serialize.c

  Log Message:
  -----------
  Fix compiler warnings with -DUSE_FUTEX

Specifically:
    futex_lock.h:78: warning: implicit declaration of function ‘syscall’

This warning appears since glibc version 2.19, along with the
introduction of the _DEFAULT_SOURCE FTM, which is a macro that seems to
be additionally required when defining any of the previous FTMs...

man feature_test_macros





More information about the Devel mailing list