diff options
| author | Christian Hesse <mail@eworm.de> | 2014-09-19 13:54:45 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-19 14:04:22 +0200 |
| commit | f01457b003d3b0d996f1f2e97112015b8df26fdb (patch) | |
| tree | d25ccb634ac652eb7915694d3549638648521009 /text.c | |
| parent | 43a4ad606d2bed35bdb418bffe42d885f57c042b (diff) | |
| download | vis-f01457b003d3b0d996f1f2e97112015b8df26fdb.tar.gz vis-f01457b003d3b0d996f1f2e97112015b8df26fdb.tar.xz | |
This fixes warning with latest glibc (>= 2.19.90), which deprecated _BSD_SOURCE
warning: _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE
Commit 4f537d8e4bd9707a0048289f296510b76ce6d642 just fixed one of three
cases. Fix the remaining.
Diffstat (limited to 'text.c')
| -rw-r--r-- | text.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -13,6 +13,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define _DEFAULT_SOURCE #define _BSD_SOURCE #include <unistd.h> #include <stdio.h> |
