From: Isaac Dunham <idunham@lavabit.com>
To: musl@lists.openwall.com
Subject: Re: [3/3] _BSD_SOURCE for ctype.h
Date: Thu, 19 Apr 2012 14:06:15 -0700 [thread overview]
Message-ID: <20120419140615.3043b217@newbook> (raw)
In-Reply-To: <20120419135245.6f617c6c@newbook>
[-- Attachment #1: Type: text/plain, Size: 41 bytes --]
Here's a patch for ctype.h
Isaac Dunham
[-- Attachment #2: ctype.dif --]
[-- Type: application/octet-stream, Size: 408 bytes --]
diff --git a/include/ctype.h b/include/ctype.h
index a85e907..8ceaa9f 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -30,7 +30,8 @@ int toupper(int);
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
- || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
+ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
+ || defined(_BSD_SOURCE)
#define __NEED_locale_t
#include <bits/alltypes.h>
prev parent reply other threads:[~2012-04-19 21:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 20:52 [0/3] _BSD_SOURCE patches: termios, ctype, stdio Isaac Dunham
2012-04-19 21:01 ` [1/3] _BSD_SOURCE for stdio.h Isaac Dunham
2012-04-19 21:03 ` [0/3] _BSD_SOURCE patches: termios, ctype, stdio Isaac Dunham
2012-04-19 21:06 ` Isaac Dunham [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120419140615.3043b217@newbook \
--to=idunham@lavabit.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).