|
Message-Id: <1331280854-9080-1-git-send-email-gf@unixsol.org> Date: Fri, 9 Mar 2012 10:14:10 +0200 From: Georgi Chorbadzhiyski <gf@...xsol.org> To: musl@...ts.openwall.com Subject: [PATCH 0/4] Fix function definitions. Define several functions if _BSD_SOURCE is set. _XOPEN_SOURCE should also be checked but I can't be bothered, because _BSD_SOURCE works. Background for these patches: http://lists.landley.net/pipermail/toybox-landley.net/2012-March/000309.html Georgi Chorbadzhiyski (4): include/stdlib.h: Define clearenv() if (_SVID_SOURCE || _BSD_SOURCE) is set. include/unistd.h: Define sethostname() if _BSD_SOURCE is set. include/unistd.h: Define vfork() if _BSD_SOURCE is set. include/sys/types.h: major(), minor() and makedev() should be defined if _BSD_SOURCE is set. include/stdlib.h | 5 ++++- include/sys/types.h | 5 ++++- include/unistd.h | 10 ++++++++-- 3 files changed, 16 insertions(+), 4 deletions(-) -- 1.7.5.1
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.