]> mj.ucw.cz Git - libucw.git/commitdiff
#include "sherlock/tagged-text.h" really doesn't belong here.
authorMartin Mares <mj@ucw.cz>
Tue, 8 Nov 2005 21:04:58 +0000 (21:04 +0000)
committerMartin Mares <mj@ucw.cz>
Tue, 8 Nov 2005 21:04:58 +0000 (21:04 +0000)
lib/kmp.c
lib/kmp.h

index c930168d6a7a64bb7c6bd00068780de22d8cb9f9..c2e2dd10f8437a11c9ea8d7ac2d067277813fa5c 100644 (file)
--- a/lib/kmp.c
+++ b/lib/kmp.c
@@ -8,7 +8,6 @@
 #include "lib/bitops.h"
 #include "lib/mempool.h"
 #include "lib/lists.h"
-#include "sherlock/tagged-text.h"
 #include "lib/unicode.h"
 
 #define KMP_GET_CHAR KMP_GET_RAW
@@ -16,7 +15,6 @@
 
 #include <stdlib.h>
 #include <stdio.h>
-#include <string.h>
 #include <alloca.h>
 
 #define        TRACE(level, mask...)   if (0) fprintf(stderr, mask)
index 99dd51423e0686e5d48d966a5606de6e24db8d29..0a83dd7b3c4756320cae01c2fb45d9cb04ea6fe5 100644 (file)
--- a/lib/kmp.h
+++ b/lib/kmp.h
@@ -19,6 +19,8 @@
 
 #include "lib/lists.h"
 
+#include <string.h>
+
 /*
  * Input conversion flags (the conversion is handled exclusively by the KMP_GET_CHAR
  * macro, so you can define your own conversion modes, soo).