From: "Stefan Viljoen" Newsgroups: comp.os.msdos.djgpp Subject: Re: RSXNTDJ help me please *8) Date: 28 May 1999 17:36:24 GMT Organization: The South African Internet Exchange Lines: 30 Message-ID: <01bea84d$25178880$LocalHost@default> References: <374c943e DOT 1249522 AT news DOT pasteur DOT dialix DOT com DOT au> <7ih57f$kdn$2 AT news08 DOT btx DOT dtag DOT de> NNTP-Posting-Host: pc36-01-p22.nt.saix.net X-Trace: news3.saix.net 927912984 18522 155.239.194.22 (28 May 1999 17:36:24 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 28 May 1999 17:36:24 GMT X-Newsreader: Microsoft Internet News 4.70.1155 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Günter Ladwig wrote in article <7ih57f$kdn$2 AT news08 DOT btx DOT dtag DOT de>... > 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 I fixed this "redefinition" problem by using #ifndef etc. I said #ifndef size_t #define size_t #endif This solved it and stopped the compiler moaning. It avoids redefining size_t if it already defined. -- Spawned By Rylan Rylan AT intekom DOT co DOT za http://home.intekom.com/rylan/ Power Overwhelming