new header tests for sunos
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 98d801c..e27fd4f 100644 (file)
--- a/rsync.h
+++ b/rsync.h
 #include <sys/param.h>
 #endif
 
-#ifdef STDC_HEADERS
-# include <stdlib.h>
-# include <string.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#ifdef HAVE_STRING_H
+#include <string.h>
 #endif
 
 #ifdef HAVE_COMPAT_H