Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding string.h since this was failing to compile for griffin in IRC

  • Loading branch information...
commit ccb28e8846e5b8f3ec5f40f9696bc052b943a189 1 parent fbd0a38
Nathanial S Coffield authored
View
54 init.d/mineserver.init
@@ -1,54 +0,0 @@
-#!/bin/bash
-#
-# mineserver Startup script for the Mineserver
-#
-# chkconfig: - 85 15
-# description: Mineserver is a FOSS implementation of the Minecraft server from minecraft.net
-# processname: mineserver
-# pidfile: /usr/local/mineserver/mineserver.pid
-
-BASEDIR=/usr/local/mineserver
-pidfile=$BASEDIR/mineserver.pid
-lockfile=/var/lock/subsys/mineserver
-prog=mineserver
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-start() {
- echo -n $"Starting $prog: "
- $BASEDIR/$prog $BASEDIR/config.cfg &> /dev/null
- RETVAL=$?
- echo
- [ $RETVAL = 0 ] && touch ${lockfile}
- return $RETVAL
-}
-
-stop() {
- echo -n $"Stopping $prog: "
- killproc -p ${pidfile} -d 10 $BASEDIR/$prog 2
- RETVAL=$?
- echo
- [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile}
-}
-
-restart() {
- stop
- start
-}
-
-# See how we were called.
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- restart
- ;;
- *)
- echo $"Usage: $prog {start|stop|restart}"
- ;;
-esac
View
1  plugins/binlog/src/binlog.cpp
@@ -33,6 +33,7 @@
#include <fstream>
#include <sstream>
#include <string>
+#include <string.h>
#include <time.h>
#include <vector>
View
1  plugins/binlog/src/binlog.h
@@ -32,6 +32,7 @@
#include <string>
#include <fstream>
#include <time.h>
+#include <string.h>
#include "../../../src/plugin_api.h"
Please sign in to comment.
Something went wrong with that request. Please try again.