summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
-rw-r--r--marshal.c25
1 files changed, 18 insertions, 7 deletions
@@ -9,13 +9,7 @@
**********************************************************************/
-#include "ruby/ruby.h"
-#include "ruby/io.h"
-#include "internal.h"
-#include "ruby/st.h"
-#include "ruby/util.h"
-#include "encindex.h"
-#include "id_table.h"
#include <math.h>
#ifdef HAVE_FLOAT_H
@@ -25,6 +19,23 @@
#include <ieeefp.h>
#endif
#define BITSPERSHORT (2*CHAR_BIT)
#define SHORTMASK ((1<<BITSPERSHORT)-1)
#define SHORTDN(x) RSHIFT((x),BITSPERSHORT)