From: | "Fabian Groffen (grobian)" <grobian@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-projects commit in portage-utils/libq: compat.c |
Date: | Tue, 08 Sep 2009 17:21:52 |
Message-Id: | E1Ml4O7-0006sN-6i@stork.gentoo.org |
1 | grobian 09/09/08 17:21:51 |
2 | |
3 | Modified: compat.c |
4 | Log: |
5 | Add support for HPUX and FreeMiNT by Michael Haubenwallner and Alan Hourihane |
6 | |
7 | Revision Changes Path |
8 | 1.4 portage-utils/libq/compat.c |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/libq/compat.c?rev=1.4&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/libq/compat.c?rev=1.4&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/libq/compat.c?r1=1.3&r2=1.4 |
13 | |
14 | Index: compat.c |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-projects/portage-utils/libq/compat.c,v |
17 | retrieving revision 1.3 |
18 | retrieving revision 1.4 |
19 | diff -u -r1.3 -r1.4 |
20 | --- compat.c 27 Mar 2009 20:59:05 -0000 1.3 |
21 | +++ compat.c 8 Sep 2009 17:21:50 -0000 1.4 |
22 | @@ -30,6 +30,8 @@ |
23 | *strp = xstrdup(str); \ |
24 | } while (0) |
25 | |
26 | +#elif defined(__hpux__) || defined(__MINT__) |
27 | + /* must not include both dir.h and dirent.h on hpux11..11 & FreeMiNT */ |
28 | #else /* __sun__ */ |
29 | # include <sys/dir.h> |
30 | #endif |