X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/5391a863dc82d263f86c1b7586b7f5a16add5e6a..4b45d6714a4afd55e138be89723d32472062f54e:/lib-src/fakemail.c diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c index 6e0cca22e5..1deeec352b 100644 --- a/lib-src/fakemail.c +++ b/lib-src/fakemail.c @@ -15,23 +15,26 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #define NO_SHORTNAMES #include <../src/config.h> -#if defined (BSD) && !defined (BSD4_1) && !defined (USE_FAKEMAIL) +#if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL) /* This program isnot used in BSD, so just avoid loader complaints. */ -void +int main () { + return 0; } #else /* not BSD 4.2 (or newer) */ #ifdef MSDOS -void +int main () { + return 0; } #else /* not MSDOS */ /* This conditional contains all the rest of the file. */ @@ -49,6 +52,10 @@ main () #undef close #endif +#ifdef WINDOWSNT +#include "ntlib.h" +#endif + #include #include #include @@ -690,7 +697,7 @@ write_header (the_header) return; } -void +int main (argc, argv) int argc; char **argv;