mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 23:21:08 +03:00
workaround missing kernel headers for some architectures
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
4cb665e431
commit
5597760367
@ -135,8 +135,12 @@ static inline int inotify_add_watch(int fd, const char *name, uint32_t mask)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SO_RCVBUFFORCE
|
#ifndef SO_RCVBUFFORCE
|
||||||
|
#if defined(__alpha__) || defined(__hppa__) || defined(__sparc__) || defined(__sparc_v9__)
|
||||||
|
#define SO_RCVBUFFORCE 0x100b
|
||||||
|
#else
|
||||||
#define SO_RCVBUFFORCE 33
|
#define SO_RCVBUFFORCE 33
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
extern uid_t lookup_user(const char *user);
|
extern uid_t lookup_user(const char *user);
|
||||||
extern gid_t lookup_group(const char *group);
|
extern gid_t lookup_group(const char *group);
|
||||||
|
Loading…
Reference in New Issue
Block a user