summaryrefslogtreecommitdiffstats
path: root/libc/include/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/sys/socket.h')
-rw-r--r--libc/include/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/sys/socket.h b/libc/include/sys/socket.h
index 85516fe..208663e 100644
--- a/libc/include/sys/socket.h
+++ b/libc/include/sys/socket.h
@@ -42,7 +42,7 @@ __BEGIN_DECLS
#define SOCK_PACKET 10
#ifdef __i386__
-# define __socketcall extern __cdecl
+# define __socketcall extern __attribute__((__cdecl__))
#else
# define __socketcall extern
#endif