* Do not define _BSD_SOURCE but define _DEFAULT_SOURCE instead.
[alpine.git] / imap / src / osdep / unix / os_bsf.h
blob914192dee525978910ecc19945d6f117077cfd87
1 /* ========================================================================
2 * Copyright 2008-2009 Mark Crispin
3 * ========================================================================
4 */
6 /*
7 * Program: Operating-system dependent routines -- FreeBSD version
9 * Author: Mark Crispin
11 * Date: 5 March 1993
12 * Last Edited: 18 May 2009
14 * Previous versions of this file were:
16 * Copyright 1988-2006 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
26 #include <stdlib.h>
27 #include <unistd.h>
28 #include <string.h>
29 #include <sys/types.h>
30 #include <dirent.h>
31 #include <fcntl.h>
32 #include <utime.h>
33 #include <syslog.h>
34 #include <sys/file.h>
37 #define direct dirent
39 #define utime portable_utime
40 int portable_utime (char *file,time_t timep[2]);
43 #include "env_unix.h"
44 #include "fs.h"
45 #include "ftl.h"
46 #include "nl.h"
47 #include "tcp.h"