1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix inet_addr and inet_ntoa not being part of _SORTIX_SOURCE.

This commit is contained in:
Jonas 'Sortie' Termansen 2016-01-18 14:38:42 +01:00
parent dc07435002
commit 2e9153cdb9

View file

@ -1,6 +1,6 @@
/*******************************************************************************
Copyright(C) Jonas 'Sortie' Termansen 2013, 2014.
Copyright(C) Jonas 'Sortie' Termansen 2013, 2014, 2016.
This file is part of the Sortix C Library.
@ -34,7 +34,7 @@ extern "C" {
#endif
/* Functions from POSIX that is considered obsolete due to bad design. */
#if __USE_POSIX
#if __USE_SORTIX || __USE_POSIX
in_addr_t inet_addr(const char*);
char* inet_ntoa(struct in_addr);
#endif