summaryrefslogtreecommitdiffstats
path: root/mcop/md5auth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mcop/md5auth.cpp')
-rw-r--r--mcop/md5auth.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/mcop/md5auth.cpp b/mcop/md5auth.cpp
index 5278870..9811641 100644
--- a/mcop/md5auth.cpp
+++ b/mcop/md5auth.cpp
@@ -20,7 +20,9 @@
*/
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <sys/utsname.h>
#include <sys/types.h>
@@ -32,13 +34,11 @@
#include <assert.h>
#include <stdlib.h>
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#elif HAVE_SYS_TIME_H
-# include <sys/time.h>
-#else
-# include <time.h>
+#if defined(HAVE_SYS_TIME_H)
+#include <sys/time.h>
+#endif
+#if defined(TIME_WITH_SYS_TIME)
+#include <time.h>
#endif
#include "md5.h"