projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cb665e
)
workaround missing kernel headers for some architectures
author
Kyle McMartin
<kyle@parisc-linux.org>
Tue, 21 Feb 2006 16:01:54 +0000
(17:01 +0100)
committer
Kay Sievers
<kay.sievers@suse.de>
Tue, 21 Feb 2006 16:01:54 +0000
(17:01 +0100)
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
udev_libc_wrapper.h
patch
|
blob
|
history
diff --git
a/udev_libc_wrapper.h
b/udev_libc_wrapper.h
index
a4d320f
..
fc66670
100644
(file)
--- a/
udev_libc_wrapper.h
+++ b/
udev_libc_wrapper.h
@@
-135,8
+135,12
@@
static inline int inotify_add_watch(int fd, const char *name, uint32_t mask)
#endif
#ifndef SO_RCVBUFFORCE
+#if defined(__alpha__) || defined(__hppa__) || defined(__sparc__) || defined(__sparc_v9__)
+#define SO_RCVBUFFORCE 0x100b
+#else
#define SO_RCVBUFFORCE 33
#endif
+#endif
extern uid_t lookup_user(const char *user);
extern gid_t lookup_group(const char *group);