ObjFW  Diff

Differences From Artifact [c5ef32205f]:

To Artifact [4c6eb1f07f]:


15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31



32



33
34
35
36
37
38
39
40
41
42
 */

#include "config.h"

#include <errno.h>
#include <string.h>

/* Work around __block being used by glibc */
#ifdef __GLIBC__
# undef __USE_XOPEN
#endif

#include "platform.h"

#include <signal.h>

#ifdef HAVE_UNISTD_H



# include <unistd.h>



#endif

#ifndef OF_WINDOWS
# include <sys/wait.h>
#endif

#ifdef HAVE_SPAWN_H
# include <spawn.h>
#endif








<
<
<
<
<
<
<



>
>
>

>
>
>


|







15
16
17
18
19
20
21







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 */

#include "config.h"

#include <errno.h>
#include <string.h>








#include <signal.h>

#ifdef HAVE_UNISTD_H
# ifdef __GLIBC__
#  undef __USE_XOPEN	/* Needed to avoid old glibc using __block */
# endif
# include <unistd.h>
# ifdef __GLIBC__
#  define __USE_XOPEN 1
# endif
#endif

#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif

#ifdef HAVE_SPAWN_H
# include <spawn.h>
#endif