From: Carl Worth Date: Fri, 11 Nov 2005 20:45:39 +0000 (+0000) Subject: 2005-11-11 Carl Worth X-Git-Url: https://git.cworth.org/git?p=ttt;a=commitdiff_plain;h=f04f93bc811d1d2f36cf37f4a9e012e8877c744b;ds=sidebyside 2005-11-11 Carl Worth * src/ttt-board.h: Include ttt.h to get standard includes. * src/ttt-socket.c: Replace include of netinet/ip.h with netinet/in.h which seems to be necessary for BSD libc, (eg. Mac OS X). --- diff --git a/ChangeLog b/ChangeLog index 3ff9e6b..f0f59db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-11-11 Carl Worth + + * src/ttt-board.h: Include ttt.h to get standard includes. + + * src/ttt-socket.c: Replace include of netinet/ip.h with + netinet/in.h which seems to be necessary for BSD libc, (eg. Mac OS + X). + 2005-11-09 Carl Worth * src/Makefile.am: diff --git a/src/ttt-board.h b/src/ttt-board.h index 7f9c92d..c589a77 100644 --- a/src/ttt-board.h +++ b/src/ttt-board.h @@ -22,9 +22,7 @@ #ifndef _TTT_BOARD_H_ #define _TTT_BOARD_H_ -#include -#include -#include +#include "ttt.h" #define TTT_BOARD_MAX_CELLS 9 diff --git a/src/ttt-socket.c b/src/ttt-socket.c index 765cab1..18577ff 100644 --- a/src/ttt-socket.c +++ b/src/ttt-socket.c @@ -21,7 +21,7 @@ #include "ttt-socket.h" -#include +#include #include /* Initialize a TCP/IP address structure with the given host and port.