* Do not define _BSD_SOURCE but define _DEFAULT_SOURCE instead.
[alpine.git] / imap / src / osdep / unix / os_bsi.c
blobf32b1fb2e79304bd7cab87c0c103070283fadde4
1 /* ========================================================================
2 * Copyright 2008-2009 Mark Crispin
3 * ========================================================================
4 */
6 /*
7 * Program: Operating-system dependent routines -- BSDI BSD/386 version
9 * Author: Mark Crispin
11 * Date: 1 August 1988
12 * Last Edited: 18 May 2009
14 * Previous versions of this file were:
16 * Copyright 1988-2007 University of Washington
18 * Licensed under the Apache License, Version 2.0 (the "License");
19 * you may not use this file except in compliance with the License.
20 * You may obtain a copy of the License at
22 * http://www.apache.org/licenses/LICENSE-2.0
25 \f
26 #include "tcp_unix.h" /* must be before osdep includes tcp.h */
27 #include "mail.h"
28 #include "osdep.h"
29 #include <stdio.h>
30 #include <sys/time.h>
31 #include <sys/stat.h>
32 #include <sys/socket.h>
33 #include <netinet/in.h>
34 #include <arpa/inet.h>
35 #include <netdb.h>
36 #include <ctype.h>
37 #include <errno.h>
38 extern int errno; /* just in case */
39 #include <pwd.h>
40 #include "misc.h"
43 #include "fs_unix.c"
44 #include "ftl_unix.c"
45 #include "nl_unix.c"
46 #include "env_unix.c"
47 #include "getspnam.c"
48 #define fork vfork
49 #include "tcp_unix.c"
50 #include "gr_waitp.c"
51 #include "tz_bsd.c"
52 #include "utime.c"