Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
pam-modules
pam_unix2-glibc216.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam_unix2-glibc216.patch of Package pam-modules
Index: pam_unix2-2.9.1/src/read-files.c =================================================================== --- pam_unix2-2.9.1.orig/src/read-files.c +++ pam_unix2-2.9.1/src/read-files.c @@ -30,8 +30,14 @@ #include <errno.h> #include <fcntl.h> #include <nss.h> -#include <bits/libc-lock.h> +#include <pthread.h> #define __libc_lock_t pthread_mutex_t +#define __libc_lock_define_initialized(CLASS,NAME) \ + CLASS __libc_lock_t NAME = PTHREAD_MUTEX_INITIALIZER; +#define __libc_lock_lock(NAME) \ + pthread_mutex_lock, (&(NAME)) +#define __libc_lock_unlock(NAME) \ + pthread_mutex_unlock, (&(NAME)) #include "read-files.h"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor