]> sigrok.org Git - libsigrok.git/commitdiff
proto.h: Add missing unistd.h #include.
authorUwe Hermann <redacted>
Sun, 3 Jan 2016 02:00:45 +0000 (03:00 +0100)
committerUwe Hermann <redacted>
Sun, 3 Jan 2016 02:00:45 +0000 (03:00 +0100)
The ssize_t and size_t usage requires the unistd.h #include.

Thanks to Daniel Glöckner for the bug report.

This fixes bug #721.

include/libsigrok/proto.h

index c10f7c10dfbf9332fccb9523ed43ead25243de3f..ea9d477946fd7ae74a963f77e1dc89dd3c906a0e 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef LIBSIGROK_PROTO_H
 #define LIBSIGROK_PROTO_H
 
+#include <unistd.h>
+
 /**
  * @file
  *