]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/sysv/linux/m68k/kernel-features.h
Fix __ASSUME_ACCEPT4 issues (bug 16609).
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / m68k / kernel-features.h
index 3b05e9661097fe79c611916cc8f7438223de6980..cb8915f127ec39958154ae9754f42b4cc25a8afb 100644 (file)
@@ -17,6 +17,9 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* m68k uses socketcall.  */
+#define __ASSUME_SOCKETCALL    1
+
 /* Many syscalls were added in 2.6.10 for m68k.  */
 #define __ASSUME_UTIMES        1
 
 # define __ASSUME_DUP3         1
 #endif
 
-/* Support for the accept4 syscall was added in 2.6.28.  */
-#if __LINUX_KERNEL_VERSION >= 0x02061c
-# define __ASSUME_ACCEPT4      1
-#endif
-
 #include_next <kernel-features.h>
 
 /* These syscalls were added only in 3.0 for m68k.  */