diff options
Diffstat (limited to 'games/xataxx/files/patch-bits.c')
-rw-r--r-- | games/xataxx/files/patch-bits.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games/xataxx/files/patch-bits.c b/games/xataxx/files/patch-bits.c new file mode 100644 index 000000000000..8882c611f34b --- /dev/null +++ b/games/xataxx/files/patch-bits.c @@ -0,0 +1,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 */ + |