X-Git-Url: https://git.octo.it/?p=sort-networks.git;a=blobdiff_plain;f=src%2Fsn-evolution.c;h=8774f4ada47c25b83339e254e7e1a17bcdace536;hp=71f0c6749c3e844772557aa42d21d1138ea0468c;hb=1994d8e13989540139039a552002378b46a8f449;hpb=81c1349a79fa02e265aa2f2cde30da58edac7fa2 diff --git a/src/sn-evolution.c b/src/sn-evolution.c index 71f0c67..8774f4a 100644 --- a/src/sn-evolution.c +++ b/src/sn-evolution.c @@ -23,7 +23,10 @@ # define _ISOC99_SOURCE #endif #ifndef _POSIX_C_SOURCE -# define _POSIX_C_SOURCE 200112L +# define _POSIX_C_SOURCE 200809L +#endif +#ifndef _XOPEN_SOURCE +# define _XOPEN_SOURCE 700 #endif #include @@ -50,10 +53,6 @@ # define __attribute__(x) /**/ #endif -/* Yes, this is ugly, but the GNU libc doesn't export it with the above flags. - * */ -char *strdup (const char *s); - static uint64_t iteration_counter = 0; static int inputs_num = 16; static int inputs_num_is_power_of_two = 1;