Commit c913110506886b7d1d89f88a22ef18cb50abf38b

Authored by Georg Hopp
1 parent 8a5790ed

Fix _POSIX_C_SOURCE definition so that getaddrinfo works

Showing 1 changed file with 1 additions and 1 deletions
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 * along with this program. If not, see <http://www.gnu.org/licenses/>. 20 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 */ 21 */
22 22
23 -#define _POSIX_SOURCE 1 23 +#define _POSIX_C_SOURCE 200112L
24 24
25 #include <stdlib.h> // for atoi() and exit() 25 #include <stdlib.h> // for atoi() and exit()
26 #include <errno.h> // for errno 26 #include <errno.h> // for errno
Please register or login to post a comment