Showing with 27 additions and 0 deletions.
  1. +1 −0 mak/COPY
  2. +1 −0 mak/MANIFEST
  3. +19 −0 src/core/sys/linux/sys/socket.d
  4. +3 −0 win32.mak
  5. +3 −0 win64.mak
1 change: 1 addition & 0 deletions mak/COPY
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ COPY=\
$(IMPDIR)\core\sys\linux\sys\inotify.d \
$(IMPDIR)\core\sys\linux\sys\mman.d \
$(IMPDIR)\core\sys\linux\sys\signalfd.d \
$(IMPDIR)\core\sys\linux\sys\socket.d \
$(IMPDIR)\core\sys\linux\sys\sysinfo.d \
$(IMPDIR)\core\sys\linux\sys\xattr.d \
\
Expand Down
1 change: 1 addition & 0 deletions mak/MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ MANIFEST=\
src\core\sys\linux\sys\inotify.d \
src\core\sys\linux\sys\mman.d \
src\core\sys\linux\sys\signalfd.d \
src\core\sys\linux\sys\socket.d \
src\core\sys\linux\sys\sysinfo.d \
src\core\sys\linux\sys\xattr.d \
\
Expand Down
19 changes: 19 additions & 0 deletions src/core/sys/linux/sys/socket.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* D header file for GNU/Linux.
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Paul O'Neil
*/
module core.sys.linux.sys.socket;

public import core.sys.posix.sys.socket;

version(linux):
extern(C):
@nogc:
nothrow:

enum {
AF_RXRPC = 33,
PF_RXRPC = AF_RXRPC,
}
3 changes: 3 additions & 0 deletions win32.mak
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ $(IMPDIR)\core\sys\linux\sys\mman.d : src\core\sys\linux\sys\mman.d
$(IMPDIR)\core\sys\linux\sys\signalfd.d : src\core\sys\linux\sys\signalfd.d
copy $** $@

$(IMPDIR)\core\sys\linux\sys\socket.d : src\core\sys\linux\sys\socket.d
copy $** $@

$(IMPDIR)\core\sys\linux\sys\sysinfo.d : src\core\sys\linux\sys\sysinfo.d
copy $** $@

Expand Down
3 changes: 3 additions & 0 deletions win64.mak
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,9 @@ $(IMPDIR)\core\sys\linux\sys\mman.d : src\core\sys\linux\sys\mman.d
$(IMPDIR)\core\sys\linux\sys\signalfd.d : src\core\sys\linux\sys\signalfd.d
copy $** $@

$(IMPDIR)\core\sys\linux\sys\socket.d : src\core\sys\linux\sys\socket.d
copy $** $@

$(IMPDIR)\core\sys\linux\sys\sysinfo.d : src\core\sys\linux\sys\sysinfo.d
copy $** $@

Expand Down