blob: 71014509b0cd19640572ab8ee3db7559bdadc9f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- tracker.cpp.orig Sun Jan 16 02:18:36 2005
+++ tracker.cpp Sun Jan 16 02:19:42 2005
@@ -19,6 +19,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
#include <ListenSocket.h>
#include <signal.h>
#include "MyHandler.h"
@@ -43,6 +47,8 @@
fprintf(fil,"\tedge [arrowhead=open]\n");
#ifdef _WIN32
std::string os = "Win32";
+#elif defined __FreeBSD__
+ std::string os = "FreeBSD";
#else
std::string os = "Linux";
#endif
|