summaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-12-09 18:04:27 +0200
committerEli Zaretskii <eliz@gnu.org>2016-12-09 18:04:27 +0200
commitae490069eafa68356405fc9719910a4c533f14ea (patch)
treef60cf0a8cded42ab822d5aa4f0bee95041478bc2 /src/thread.h
parent3ef50c1ff691b0a6c2f56da76f7c1c9b572d8be8 (diff)
downloademacs-ae490069eafa68356405fc9719910a4c533f14ea.tar.gz
emacs-ae490069eafa68356405fc9719910a4c533f14ea.tar.bz2
emacs-ae490069eafa68356405fc9719910a4c533f14ea.zip
Fix compilation on Debian GNU/Linux
* src/thread.h: Include sys/types.h, for ssize_t that regex.h uses. Reported by Robert Marshall <robert.marshall@codethink.co.uk>.
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index d4cae360f68..64448007531 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -19,6 +19,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#ifndef THREAD_H
#define THREAD_H
+#include <sys/types.h> /* for ssize_t used by regex.h */
#include "regex.h"
#ifdef WINDOWSNT