mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-30 15:40:51 +02:00
systemd: add missing definitions for __compar_d_fn_t with musl
This commit is contained in:
parent
4cf41a43fd
commit
b28c9e4535
1 changed files with 7 additions and 0 deletions
|
|
@ -195,6 +195,13 @@ _nm_gettid(void)
|
|||
#define HAVE_RT_SIGQUEUEINFO 0
|
||||
#endif
|
||||
|
||||
#ifndef __COMPAR_FN_T
|
||||
#define __COMPAR_FN_T
|
||||
typedef int (*__compar_fn_t)(const void *, const void *);
|
||||
typedef __compar_fn_t comparison_fn_t;
|
||||
typedef int (*__compar_d_fn_t)(const void *, const void *, void *);
|
||||
#endif
|
||||
|
||||
#endif /* (NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_SYSTEMD */
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue