summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scripts/ruby')
-rw-r--r--src/plugins/scripts/ruby/weechat-ruby.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c
index 034847a37..8bc084b69 100644
--- a/src/plugins/scripts/ruby/weechat-ruby.c
+++ b/src/plugins/scripts/ruby/weechat-ruby.c
@@ -17,18 +17,22 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-/* wee-ruby.c: Ruby plugin support for WeeChat */
+/* weechat-ruby.c: Ruby plugin support for WeeChat */
+#undef _
#include <ruby.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
+#include <time.h>
+
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#undef _
+
#include "../../weechat-plugin.h"
#include "../weechat-script.h"