diff options
author | Dan McGee <dpmcgee@gmail.com> | 2015-04-07 10:46:05 -0500 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2015-04-07 10:46:05 -0500 |
commit | 5b50abd6f4b63d822acdea31eaae6e1a4edbc393 (patch) | |
tree | c36ddc68e9fbbad75a832306a09d41a5b593f109 | |
parent | f5192e1929a344c3b9b90b71326581ef27875256 (diff) | |
download | onkyocontrol-5b50abd6f4b63d822acdea31eaae6e1a4edbc393.tar.gz onkyocontrol-5b50abd6f4b63d822acdea31eaae6e1a4edbc393.zip |
Clean up defines to work on more platforms
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r-- | command.c | 2 | ||||
-rw-r--r-- | onkyo.c | 2 | ||||
-rw-r--r-- | receiver.c | 1 |
3 files changed, 2 insertions, 3 deletions
@@ -17,7 +17,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define _BSD_SOURCE 1 /* strdup */ +#define _XOPEN_SOURCE 600 /* strdup */ #include <stdlib.h> #include <stdio.h> @@ -21,7 +21,7 @@ */ #define _POSIX_C_SOURCE 1 /* signal handlers, getaddrinfo */ -#define _XOPEN_SOURCE 500 /* SA_RESTART */ +#define _XOPEN_SOURCE 600 /* SA_RESTART, strdup */ #include <stdlib.h> #include <stdio.h> @@ -17,7 +17,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define _BSD_SOURCE 1 /* strdup */ #define _GNU_SOURCE 1 /* memmem */ #include <stdlib.h> |