util  Diff

Differences From Artifact [4bacc7856b]:

To Artifact [6c7d5a351b]:


     3      3   /* "feature tests" */
     4      4   #define _POSIX_C_SOURCE 200112L
     5      5   	/*             <unistd.h> seteuid
     6      6   	 * <sys/socket.h netdb.h> getnameinfo */
     7      7   #define _GNU_SOURCE
     8      8   	/* <net/if.h> IFNAMSIZ  [linux]
     9      9   	 * <unistd.h> getresuid [linux]*/
           10  +#define _DEFAULT_SOURCE
           11  +	/* <unistd.h> daemon [glibc, BSD] */
    10     12   
    11     13   /* arch headers */
    12     14   #include <stdint.h>
    13     15   #include <stddef.h>
    14     16   
    15     17   #define _layout struct __attribute__((__packed__))
    16     18   #define _zero(x) memset(&x, sizeof(x), 0)