summaryrefslogtreecommitdiff
path: root/src/plugins/xfer
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-10-25 08:27:06 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-10-25 08:27:06 +0200
commit328d8e0f95e2b4c481d01dd8a74e0d61f52a662e (patch)
tree210c49c057bad4d41135a0b90343bf90acf46c80 /src/plugins/xfer
parent71bef80ce2c6dfc944972fcc93b3db46fcffb283 (diff)
downloadweechat-328d8e0f95e2b4c481d01dd8a74e0d61f52a662e.zip
core: fix compilation error with "pid_t" on Mac OS X (bug #34639)
Diffstat (limited to 'src/plugins/xfer')
-rw-r--r--src/plugins/xfer/xfer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/xfer/xfer.h b/src/plugins/xfer/xfer.h
index 71de5bbf0..8525c8d35 100644
--- a/src/plugins/xfer/xfer.h
+++ b/src/plugins/xfer/xfer.h
@@ -20,6 +20,8 @@
#ifndef __WEECHAT_XFER_H
#define __WEECHAT_XFER_H 1
+#include <unistd.h>
+
#define weechat_plugin weechat_xfer_plugin
#define XFER_PLUGIN_NAME "xfer"