Define _XOPEN_SOURCE to 600 to make glibc happy.

This commit is contained in:
Kris Maglione 2007-07-16 21:44:25 -04:00
parent 2efbe03e90
commit 460ac864a1
19 changed files with 21 additions and 20 deletions

View File

@ -2,12 +2,12 @@
* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "dat.h"
#include "fns.h"
static void place_frame(Frame *f);

View File

@ -2,9 +2,9 @@
* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <stdio.h>
#include <string.h>
#include "dat.h"
#include "fns.h"
static Handlers handlers;

View File

@ -2,12 +2,12 @@
* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <X11/Xatom.h>
#include "dat.h"
#include "fns.h"
#define Mbsearch(k, l, cmp) bsearch(k, l, nelem(l), sizeof(*l), cmp)

View File

@ -2,11 +2,12 @@
* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "dat.h"
#include <strings.h>
#include "fns.h"
static Image *divimg, *divmask;

View File

@ -2,9 +2,10 @@
* See LICENSE file for license details.
*/
#include <regexp9.h>
#define _XOPEN_SOURCE 600
#define IXP_P9_STRUCTS
#define IXP_NO_P9_
#include <regexp9.h>
#include <stdint.h>
#include <ixp.h>
#include <util.h>

View File

@ -1,9 +1,9 @@
/* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <stdio.h>
#include <X11/keysym.h>
#include "dat.h"
#include "fns.h"
#include "printevent.h"

View File

@ -1,9 +1,9 @@
/* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <math.h>
#include <stdio.h>
#include "dat.h"
#include "fns.h"
uint

View File

@ -1,15 +1,14 @@
/* Copyright ©2006 Kris Maglione <fbsdaemon at gmail dot com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <assert.h>
#include <ctype.h>
#include <regex.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "dat.h"
#include "fns.h"

View File

@ -1,8 +1,8 @@
/* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include <stdio.h>
#include "dat.h"
#include <stdio.h>
#include "fns.h"
Bool

View File

@ -1,10 +1,10 @@
/* Copyright ©2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <string.h>
#include <stdlib.h>
#include <X11/keysym.h>
#include "dat.h"
#include "fns.h"
void

View File

@ -2,6 +2,7 @@
* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <X11/Xproto.h>
#include <X11/cursorfont.h>
#include <errno.h>
@ -14,7 +15,6 @@
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
#include "dat.h"
#include "fns.h"
static const char

View File

@ -1,8 +1,8 @@
/* Written by Kris Maglione */
/* Public domain */
#include "dat.h"
#include <stdlib.h>
#include <string.h>
#include "dat.h"
#include "fns.h"
/* Edit s/^([a-zA-Z].*)\n([a-z].*) {/\1 \2;/g x/^([^a-zA-Z]|static|$)/-+d s/ (\*map|val|*str)//g */

View File

@ -1,12 +1,12 @@
/* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dat.h"
#include "fns.h"
static char

View File

@ -1,11 +1,11 @@
/* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "dat.h"
#include "fns.h"
enum {

View File

@ -39,12 +39,12 @@
* ken@richsun.UUCP
*/
#include "dat.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <bio.h>
#include "dat.h"
//#include "fns.h"
#include "printevent.h"
#include <X11/Xproto.h>

View File

@ -3,10 +3,10 @@
* See LICENSE file for license details.
*/
#include "dat.h"
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include "dat.h"
#include "fns.h"
/* basic rule matching language /regex/ -> value

View File

@ -1,8 +1,8 @@
/* Public Domain --Kris Maglione */
#include "dat.h"
#include <errno.h>
#include <iconv.h>
#include <string.h>
#include "dat.h"
#include "fns.h"
char*

View File

@ -2,10 +2,10 @@
* Copyright ©2006-2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "dat.h"
#include "fns.h"
static Bool

View File

@ -1,6 +1,7 @@
/* Copyright ©2007 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#include "dat.h"
#include <assert.h>
#include <math.h>
#include <stdlib.h>
@ -8,7 +9,6 @@
#include <string.h>
#include <unistd.h>
#include <bio.h>
#include "dat.h"
#include "fns.h"
Point ZP = {0, 0};