More include guards.
[gpgme.git] / src / ath.h
index 8a7a507..424e345 100644 (file)
--- a/src/ath.h
+++ b/src/ath.h
@@ -40,7 +40,9 @@
 #   include <sys/time.h>
 #  endif
 # endif
-# include <sys/types.h>
+# ifdef HAVE_SYS_TYPES_H
+#  include <sys/types.h>
+# endif
 # include <sys/socket.h>
 
 #endif  /*!HAVE_W32_SYSTEM*/