diff -ru ../../work/release/memmap.cpp ./memmap.cpp
--- ../../work/release/memmap.cpp	Thu Sep 23 19:56:48 1999
+++ ./memmap.cpp	Wed Dec 29 01:54:04 1999
@@ -39,7 +39,7 @@
 #include <string.h>
 #include <ctype.h>
 
-#ifdef __linux
+#if defined(__linux) || defined(__FreeBSD__)
 #include <unistd.h>
 #endif
 
@@ -737,7 +737,7 @@
 	{
 	    fwrite ((char *) ::SRAM, size, 1, file);
 	    fclose (file);
-#if defined(__linux)
+#if defined(__linux) || defined(__FreeBSD__)
 	    chown (filename, getuid (), getgid ());
 #endif
 	    return (TRUE);
