fix includes for compilation
authorJP Rosevear <jpr@helixcode.com>
Thu, 4 Jan 2001 19:40:10 +0000 (19:40 +0000)
committerJP Rosevear <jpr@src.gnome.org>
Thu, 4 Jan 2001 19:40:10 +0000 (19:40 +0000)
2001-01-04  JP Rosevear  <jpr@helixcode.com>

* tests/lib/Makefile.am: fix includes for compilation

* tests/message/Makefile.am: Build test3 again

* tests/message/test2.c: Kill warnings with header includes

* tests/message/test3.c: ditto

* tests/lib/streams.c: ditto

* tests/lib/camel-test.c: ditto

* tests/lib/messages.c: ditto

* tests/lib/folders.c: ditto

camel/tests/lib/Makefile.am
camel/tests/lib/camel-test.c
camel/tests/lib/folders.c
camel/tests/lib/messages.c
camel/tests/lib/streams.c
camel/tests/message/.cvsignore
camel/tests/message/Makefile.am
camel/tests/message/test2.c
camel/tests/message/test3.c

index 6419047..ea51a2c 100644 (file)
@@ -1,5 +1,5 @@
 
-INCLUDES = -I$(top_srcdir)
+INCLUDES = -I$(includedir)
 
 check_LIBRARIES = libcameltest.a
 
@@ -10,3 +10,4 @@ libcameltest_a_SOURCES = \
        folders.c folders.h \
        streams.c streams.h \
        address-data.h
+
index 09014e4..e6a7c29 100644 (file)
@@ -2,6 +2,7 @@
 #include "camel-test.h"
 
 #include <stdio.h>
+#include <string.h>
 #include <signal.h>
 
 #ifdef ENABLE_THREADS
index 12136b0..ba02001 100644 (file)
@@ -1,3 +1,4 @@
+#include <string.h>
 
 #include "camel-test.h"
 #include "folders.h"
index ab5b752..a8c8b30 100644 (file)
@@ -1,4 +1,4 @@
-
+#include <string.h>
 
 #include "messages.h"
 #include "camel-test.h"
index b4b5e94..e4dc006 100644 (file)
@@ -5,6 +5,8 @@
                then reads and checks for 0's in the space?
 */
 
+#include <string.h>
+
 #include "camel/camel-stream.h"
 #include "camel/camel-seekable-stream.h"
 #include "camel/camel-seekable-substream.h"
index 521f606..36a26ac 100644 (file)
@@ -5,4 +5,7 @@ Makefile.in
 .deps
 *.lo
 *.la
-temp-test
+test1
+test2
+test3
+*.msg
index 2656a00..aa430fa 100644 (file)
@@ -14,9 +14,10 @@ LDADD = \
 
 check_PROGRAMS =       \
        test1           \
-       test2
+       test2           \
+       test3
 
-TESTS = test1 test2
+TESTS = test1 test2 test3
 
 
 
index 6baf7b9..abeafa9 100644 (file)
@@ -5,6 +5,8 @@
 /* for stat */
 #include <sys/stat.h>
 #include <unistd.h>
+#include <string.h>
+#include <stdio.h>
 
 #include <unicode.h>
 
index 1c70be5..78ac7b3 100644 (file)
@@ -8,6 +8,7 @@
 /* for stat */
 #include <sys/stat.h>
 #include <unistd.h>
+#include <string.h>
 
 #include <camel/camel-mime-message.h>
 #include <camel/camel-stream-fs.h>