소스 검색

unified LinNet

Alexander Shiryaev 8 년 전
부모
커밋
f3730a0395
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Net/sizeofs.c
  2. 4 0
      BlackBox/_Linux_/Lin/Mod/gen-Net/fields-sockaddr_storage

+ 1 - 0
BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Net/sizeofs.c

@@ -1,5 +1,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <poll.h>
 #include <stdlib.h>
 #include <stdio.h>

+ 4 - 0
BlackBox/_Linux_/Lin/Mod/gen-Net/fields-sockaddr_storage

@@ -0,0 +1,4 @@
+			(* /usr/include/i386-linux-gnu/bits/socket.h *)
+				sa_family: sa_family_t;
+				__ss_align: INTEGER;
+				__ss_padding: ARRAY [untagged] 128 - 2 * 4 OF SHORTCHAR;