]> git.cworth.org Git - ttt/commitdiff
2005-11-11 Carl Worth <cworth@cworth.org>
authorCarl Worth <carl@theworths.org>
Fri, 11 Nov 2005 20:45:39 +0000 (20:45 +0000)
committerCarl Worth <carl@theworths.org>
Fri, 11 Nov 2005 20:45:39 +0000 (20:45 +0000)
        * 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).

ChangeLog
src/ttt-board.h
src/ttt-socket.c

index 3ff9e6bf600c9431c83944c4c6d4d9c4249b0c8a..f0f59db6470d0fa13e9f4e44d98238ed66f1e1cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-11-11  Carl Worth  <cworth@cworth.org>
+
+       * 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  <cworth@cworth.org>
 
        * src/Makefile.am:
 2005-11-09  Carl Worth  <cworth@cworth.org>
 
        * src/Makefile.am:
index 7f9c92dd1ea365fed55ff1082c0821ccf9e5666a..c589a7716f211bfbd849dc4110393cc03d7a73ac 100644 (file)
@@ -22,9 +22,7 @@
 #ifndef _TTT_BOARD_H_
 #define _TTT_BOARD_H_
 
 #ifndef _TTT_BOARD_H_
 #define _TTT_BOARD_H_
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include "ttt.h"
 
 #define TTT_BOARD_MAX_CELLS 9
 
 
 #define TTT_BOARD_MAX_CELLS 9
 
index 765cab1104d7c568b22758a76e6c7c1a508289c8..18577ffa378468088938985545f8d758507ee50a 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "ttt-socket.h"
 
 
 #include "ttt-socket.h"
 
-#include <netinet/ip.h>
+#include <netinet/in.h>
 #include <netdb.h>
 
 /* Initialize a TCP/IP address structure with the given host and port.
 #include <netdb.h>
 
 /* Initialize a TCP/IP address structure with the given host and port.