From: gladwig AT t-online DOT de (=?iso-8859-1?Q?G=FCnter_Ladwig?=) Newsgroups: comp.os.msdos.djgpp Subject: Re: RSXNTDJ help me please *8) Date: Wed, 26 May 1999 17:47:36 +0200 Lines: 30 Message-ID: <7ih57f$kdn$2@news08.btx.dtag.de> References: <374c943e DOT 1249522 AT news DOT pasteur DOT dialix DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: news08.btx.dtag.de 927733807 20919 06081981546-0002 990526 15:50:07 X-Complaints-To: abuse AT t-online DOT de X-Sender: 06081981546-0002 AT t-online DOT de X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi! > D:\src\dsock>gcc sock.c > In file included from D:/DJGPP/RSXNTDJ/include/win32/windows.h:41, > from D:/DJGPP/RSXNTDJ/include/win32/winsock.h:20, > from sock.c:2: > D:/DJGPP/RSXNTDJ/include/win32/wingnuc.h:58: warning: redefinition of > `size_t' > d:/djgpp/include/stdio.h:38: warning: `size_t' previously declared > here > In file included from sock.c:2: > D:/DJGPP/RSXNTDJ/include/win32/winsock.h:691: parse error before > `fd_set' Yes, I had the same problem when I was compiling Libnet with rsxntdj. It seems that the winsock.h which comes with release 1.3.1 (and earlier?) are somehow broken. My solution was to use the winsock.h which came with my MSVC copy. ciao guenter -- ------ Günter Ladwig eMail: gladwig AT iname DOT com ICQ#: 14360158 HP: http://cyberbobby.home.pages.de