<commit_before>diff -auNr mjpegtools-1.9.0rc3.orig/mpeg2enc/encodertypes.h mjpegtools-1.9.0rc3/mpeg2enc/encodertypes.h
--- mjpegtools-1.9.0rc3.orig/mpeg2enc/encodertypes.h	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mpeg2enc/encodertypes.h	2009-06-25 00:12:26.000000000 +0200
@@ -25,6 +25,8 @@
  */
 

 
+#include <cstdlib>
+
 class Parity
 {
 public:
diff -auNr mjpegtools-1.9.0rc3.orig/mpeg2enc/macroblock.cc mjpegtools-1.9.0rc3/mpeg2enc/macroblock.cc
--- mjpegtools-1.9.0rc3.orig/mpeg2enc/macroblock.cc	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mpeg2enc/macroblock.cc	2009-06-25 00:12:56.000000000 +0200
@@ -21,6 +21,7 @@
 

 #include <stdio.h>
 #include <cassert>
+#include <limits.h>
 
 #include "macroblock.hh"
 #include "mpeg2syntaxcodes.h"
diff -auNr mjpegtools-1.9.0rc3.orig/mplex/inputstrm.cpp mjpegtools-1.9.0rc3/mplex/inputstrm.cpp
--- mjpegtools-1.9.0rc3.orig/mplex/inputstrm.cpp	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mplex/inputstrm.cpp	2009-06-25 00:11:36.000000000 +0200
@@ -23,6 +23,7 @@
 
 #include <config.h>
 #include <assert.h>
+#include "limits.h"
 
 #include "mjpeg_types.h"
 #include "inputstrm.hpp"
diff -auNr mjpegtools-1.9.0rc3.orig/mplex/main.cpp mjpegtools-1.9.0rc3/mplex/main.cpp
--- mjpegtools-1.9.0rc3.orig/mplex/main.cpp	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mplex/main.cpp	2009-06-25 00:11:15.000000000 +0200
@@ -31,6 +31,7 @@
 #include <getopt.h>
 #endif
 #include <string>
+#include <cstring>
 #include <memory>
 #include <sys/stat.h>
 #ifndef _WIN32
diff -auNr mjpegtools-1.9.0rc3.orig/mplex/multiplexor.cpp mjpegtools-1.9.0rc3/mplex/multiplexor.cpp
--- mjpegtools-1.9.0rc3.orig/mplex/multiplexor.cpp	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mplex/multiplexor.cpp	2009-06-25 00:11:54.000000000 +0200
@@ -22,6 +22,7 @@
 #include <config.h>
 #include <math.h>
 #include <stdlib.h>
+#include <cstring>
 
 #include <mjpeg_types.h>
 #include <mjpeg_logging.h>
diff -auNr mjpegtools-1.9.0rc3.orig/mplex/padstrm.cpp mjpegtools-1.9.0rc3/mplex/padstrm.cpp
--- mjpegtools-1.9.0rc3.orig/mplex/padstrm.cpp	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mplex/padstrm.cpp	2009-06-25 00:13:20.000000000 +0200
@@ -23,6 +23,7 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#include <cstring>
 
 #include "padstrm.hpp"
 <commit_msg>mjpegtools: fix gcc433 patch<commit_after>diff -auNr mjpegtools-1.9.0rc3.orig/mpeg2enc/encodertypes.h mjpegtools-1.9.0rc3/mpeg2enc/encodertypes.h
--- mjpegtools-1.9.0rc3.orig/mpeg2enc/encodertypes.h	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mpeg2enc/encodertypes.h	2009-06-25 00:12:26.000000000 +0200
@@ -25,6 +25,8 @@
  */
 

 
+#include <cstdlib>
+
 class Parity
 {
 public:
diff -auNr mjpegtools-1.9.0rc3.orig/mpeg2enc/macroblock.cc mjpegtools-1.9.0rc3/mpeg2enc/macroblock.cc
--- mjpegtools-1.9.0rc3.orig/mpeg2enc/macroblock.cc	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mpeg2enc/macroblock.cc	2009-06-25 00:12:56.000000000 +0200
@@ -21,6 +21,7 @@
 

 #include <stdio.h>
 #include <cassert>
+#include <limits.h>
 
 #include "macroblock.hh"
 #include "mpeg2syntaxcodes.h"
diff -auNr mjpegtools-1.9.0rc3.orig/mplex/inputstrm.cpp mjpegtools-1.9.0rc3/mplex/inputstrm.cpp
--- mjpegtools-1.9.0rc3.orig/mplex/inputstrm.cpp	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mplex/inputstrm.cpp	2009-06-25 00:11:36.000000000 +0200
@@ -23,6 +23,7 @@
 
 #include <config.h>
 #include <assert.h>
+#include "limits.h"
 
 #include "mjpeg_types.h"
 #include "inputstrm.hpp"
diff -auNr mjpegtools-1.9.0rc3.orig/mplex/main.cpp mjpegtools-1.9.0rc3/mplex/main.cpp
--- mjpegtools-1.9.0rc3.orig/mplex/main.cpp	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mplex/main.cpp	2009-06-25 00:11:15.000000000 +0200
@@ -31,6 +31,7 @@
 #include <getopt.h>
 #endif
 #include <string>
+#include <cstring>
 #include <memory>
 #include <sys/stat.h>
 #ifndef _WIN32
diff -auNr mjpegtools-1.9.0rc3.orig/mplex/multiplexor.cpp mjpegtools-1.9.0rc3/mplex/multiplexor.cpp
--- mjpegtools-1.9.0rc3.orig/mplex/multiplexor.cpp	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mplex/multiplexor.cpp	2009-06-25 00:11:54.000000000 +0200
@@ -22,6 +22,7 @@
 #include <config.h>
 #include <math.h>
 #include <stdlib.h>
+#include <cstring>
 
 #include <mjpeg_types.h>
 #include <mjpeg_logging.h>
diff -auNr mjpegtools-1.9.0rc3.orig/mplex/padstrm.cpp mjpegtools-1.9.0rc3/mplex/padstrm.cpp
--- mjpegtools-1.9.0rc3.orig/mplex/padstrm.cpp	2009-06-25 00:11:02.000000000 +0200
+++ mjpegtools-1.9.0rc3/mplex/padstrm.cpp	2009-06-25 00:13:20.000000000 +0200
@@ -23,6 +23,7 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#include <cstring>
 
 #include "padstrm.hpp"
 
diff -auNr mjpegtools-1.9.0rc3.orig/mpeg2enc/picturereader.cc mjpegtools-1.9.0rc3/mpeg2enc/picturereader.cc
--- mjpegtools-1.9.0rc3.orig/mpeg2enc/picturereader.cc 2009-06-29 11:19:27.000000000 +0200
+++ mjpegtools-1.9.0rc3/mpeg2enc/picturereader.cc      2009-06-29 11:20:55.000000000 +0200
@@ -23,6 +23,7 @@
 #include "picturereader.hh"
 #include "mpeg2encoder.hh"
 #include "imageplanes.hh"
+#include <limits.h>
 //#include <stdio.h>
 //#include <stdlib.h>
 //#include <unistd.h>
{'fraction_non_alphanumeric': 0.1812452253628724, 'fraction_numerical': 0.19442322383498853, 'mean_word_length': 4.15960591133005, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 26, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '257708', 'n_tokens_mistral': 3063, 'n_tokens_neox': 2397, 'n_words': 317}