summaryrefslogtreecommitdiffstats
path: root/crypto/buffer/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/buffer/buffer.h')
-rw-r--r--crypto/buffer/buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/buffer/buffer.h b/crypto/buffer/buffer.h
index 164f8aa6ee..7f557c21c3 100644
--- a/crypto/buffer/buffer.h
+++ b/crypto/buffer/buffer.h
@@ -64,7 +64,10 @@ extern "C" {
#endif
#include <stddef.h>
+
+#if !defined(NO_SYS_TYPES_H)
#include <sys/types.h>
+#endif
typedef struct buf_mem_st
{