diff src/xs_md5.c @ 214:575686094eb1

Portability fixes
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 15 Dec 2004 11:02:02 +0000
parents 7048944d3bca
children 70ab1c28d4b2
line wrap: on
line diff
--- a/src/xs_md5.c	Wed Dec 15 11:00:05 2004 +0000
+++ b/src/xs_md5.c	Wed Dec 15 11:02:02 2004 +0000
@@ -36,11 +36,19 @@
   1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5).
   1999-05-03 lpd Original version.
  */
+/* Include config.h here, because we don't include xmms-sid.h */
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
+
 #include <glib.h>
+#ifdef HAVE_STRING_H
 #include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
 #include "xs_md5.h"
 
 #define T1 0xd76aa478