wmgeneral: Add _POSIX_C_SOURCE #defines for strdup, pid_t, and getline.

This commit is contained in:
Doug Torrance 2015-05-25 17:21:23 -05:00 committed by Carlos R. Mafra
parent 7e04b6a890
commit 2e2937620d
22 changed files with 22 additions and 0 deletions

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */

View file

@ -20,6 +20,7 @@
* USA. * USA.
*/ */
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View file

@ -58,6 +58,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L
#include "wmgeneral.h" #include "wmgeneral.h"
#include <X11/Xlib.h> /* for XCopyArea, etc */ #include <X11/Xlib.h> /* for XCopyArea, etc */
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */ #include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */