summaryrefslogtreecommitdiffstats
path: root/games/xataxx/files/patch-bits.c
blob: 8882c611f34bb09181a6fb53f9095adb9ca115de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- bits.c.orig
+++ bits.c
@@ -1,7 +1,10 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <ctype.h>
 #include <X11/Xlib.h>
+#include <X11/Xutil.h>
 #include <math.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/time.h>
 #include "struct.h"
@@ -16,7 +19,7 @@
 #define NFDSHIFT 5				/* Shift based on above */
 #ifndef howmany
 #define	howmany(x, y)	(((x)+((y)-1))/(y))
-#endif howmany
+#endif
 
 #define	NBBY	8		/* number of bits in a byte */
 
OpenPOWER on IntegriCloud