Also add a the usual HAVE_CONFIG_H guard around config.h inclusion
@@ -27,6 +27,10 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#ifndef _WIN32
#include <sys/time.h>
@@ -28,7 +28,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#include "config.h"
#include <assert.h>
#include <stdlib.h>
@@ -29,7 +29,9 @@
#include <stdio.h>
@@ -28,7 +28,10 @@
#include <string.h>
#include <ctype.h>
#ifdef _WIN32
# define _CRT_RAND_S
#include "compat.h"
@@ -28,6 +28,10 @@
#include "smb_stat.h"
#include <iconv.h>