mailing list of musl libc
 help / color / mirror / code / Atom feed
* dirent.h and __NEED_size_t
@ 2012-08-24 15:16 Daniel Cegiełka
  2012-08-24 15:27 ` Daniel Cegiełka
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Cegiełka @ 2012-08-24 15:16 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 15 bytes --]

regads,
daniel

[-- Attachment #2: dirent_h__NEED_size_t.diff --]
[-- Type: application/octet-stream, Size: 316 bytes --]

diff -urN musl.orig//include/dirent.h musl/include/dirent.h
--- musl.orig//include/dirent.h	2012-08-24 14:16:18.000000000 +0200
+++ musl/include/dirent.h	2012-08-24 17:11:03.156857822 +0200
@@ -55,6 +55,7 @@
 #endif
 
 #ifdef _BSD_SOURCE
+#define __NEED_size_t
 int getdents(int, struct dirent *, size_t);
 #endif
 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-08-24 21:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-24 15:16 dirent.h and __NEED_size_t Daniel Cegiełka
2012-08-24 15:27 ` Daniel Cegiełka
2012-08-24 15:32   ` Daniel Cegiełka
2012-08-24 15:40     ` Gregor Richards
2012-08-24 18:23       ` Header testing [Re: [musl] Re: dirent.h and __NEED_size_t] Rich Felker
2012-08-24 20:04         ` John Spencer
2012-08-24 20:16           ` Rich Felker
2012-08-24 20:48             ` John Spencer
2012-08-24 21:12               ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).