/[baselayout]/trunk/src/mountinfo.c
Gentoo

Diff of /trunk/src/mountinfo.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2799 Revision 2803
5 Copyright 2007 Gentoo Foundation 5 Copyright 2007 Gentoo Foundation
6 */ 6 */
7 7
8#define APPLET "mountinfo" 8#define APPLET "mountinfo"
9 9
10#include <sys/types.h>
11
10#if defined(__DragonFly__) || defined(__FreeBSD__) || \ 12#if defined(__DragonFly__) || defined(__FreeBSD__) || \
11 defined(__NetBSD__) || defined(__OpenBSD__) 13 defined(__NetBSD__) || defined(__OpenBSD__)
12#define BSD 14#define BSD
13
14#include <sys/types.h>
15#include <sys/param.h> 15#include <sys/param.h>
16#include <sys/ucred.h> 16#include <sys/ucred.h>
17#include <sys/mount.h> 17#include <sys/mount.h>
18#elif defined(__linux__)
19#include <limits.h>
20#endif 18#endif
21 19
22#include <errno.h> 20#include <errno.h>
23#include <getopt.h> 21#include <getopt.h>
24#include <limits.h> 22#include <limits.h>
25#include <regex.h>
26#include <stdio.h> 23#include <stdio.h>
27#include <stdlib.h> 24#include <stdlib.h>
28#include <string.h> 25#include <string.h>
26#include <regex.h>
29 27
30#include "builtins.h" 28#include "builtins.h"
31#include "einfo.h" 29#include "einfo.h"
32#include "rc.h" 30#include "rc.h"
33#include "rc-misc.h" 31#include "rc-misc.h"

Legend:
Removed from v.2799  
changed lines
  Added in v.2803

  ViewVC Help
Powered by ViewVC 1.1.20