summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorClement Leger <cleger@kalray.eu>2020-06-18 19:24:42 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-06-19 08:41:19 +0200
commita852c9941054d2cb5e50964cb9ddb975b5d11689 (patch)
tree5f16fcfbcc26c107b98217a56bbcf6a38db8f5de /include/sys
parent85ec6b449f32a9c49bfbff1d1a115c318c38c88b (diff)
inet: add sockatmark implementation
Import musl C sockatmark implementation into uClibc-ng. Signed-off-by: Clement Leger <cleger@kalray.eu> Acked-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 83e1fcaa2..c8df3057f 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -281,7 +281,7 @@ libc_hidden_proto(accept4)
extern int shutdown (int __fd, int __how) __THROW;
-#if 0 /*def __USE_XOPEN2K*/
+#ifdef __USE_XOPEN2K
/* Determine wheter socket is at a out-of-band mark. */
extern int sockatmark (int __fd) __THROW;
#endif