Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 616364
Collapse All | Expand All

(-)a/ffs.h (-1 / +4 lines)
Lines 27-33 Link Here
27
#ifdef HAVE_ENDIAN_H
27
#ifdef HAVE_ENDIAN_H
28
#include <endian.h>
28
#include <endian.h>
29
#endif
29
#endif
30
30
/* __WORDSIZE */
31
#ifndef __WORDSIZE
32
#include <sys/reg.h>
33
#endif
31
34
32
#ifdef HAVE_FFS
35
#ifdef HAVE_FFS
33
# define myffs(x) ffs(x)
36
# define myffs(x) ffs(x)
(-)a/fiemap.h (+3 lines)
Lines 31-33 Link Here
31
31
32
#endif	/* _FIEMAPH */
32
#endif	/* _FIEMAPH */
33
33
34
#ifndef __WORDSIZE
35
#include <sys/reg.h>
36
#endif
(-)a/libddr_hash.c (+3 lines)
Lines 32-37 Link Here
32
#include <errno.h>
32
#include <errno.h>
33
#include <unistd.h>
33
#include <unistd.h>
34
#include <fcntl.h>
34
#include <fcntl.h>
35
#ifndef __WORDSIZE
36
#include <sys/reg.h>
37
#endif
35
38
36
#include <netinet/in.h>	/* For ntohl/htonl */
39
#include <netinet/in.h>	/* For ntohl/htonl */
37
#include <endian.h>
40
#include <endian.h>
(-)a/libddr_lzo.c (+3 lines)
Lines 26-31 Link Here
26
#include <errno.h>
26
#include <errno.h>
27
#include <netinet/in.h>
27
#include <netinet/in.h>
28
#include <sys/stat.h>
28
#include <sys/stat.h>
29
#ifndef __WORDSIZE
30
#include <sys/reg.h>
31
#endif
29
#include <signal.h>
32
#include <signal.h>
30
#include <lzo/lzo1x.h>
33
#include <lzo/lzo1x.h>
31
#include <lzo/lzo1y.h>
34
#include <lzo/lzo1y.h>
(-)a/libddr_null.c (+3 lines)
Lines 10-15 Link Here
10
#include "ddr_ctrl.h"
10
#include "ddr_ctrl.h"
11
#include <string.h>
11
#include <string.h>
12
#include <stdlib.h>
12
#include <stdlib.h>
13
#ifndef __WORDSIZE
14
#include <sys/reg.h>
15
#endif
13
16
14
/* fwd decl */
17
/* fwd decl */
15
extern ddr_plugin_t ddr_plug;
18
extern ddr_plugin_t ddr_plug;
(-)a/sha512.h (+4 lines)
Lines 2-7 Link Here
2
#define _SHA512_H
2
#define _SHA512_H
3
3
4
#include "hash.h"
4
#include "hash.h"
5
/* __WORDSIZE */
6
#ifndef __WORDSIZE
7
#include <sys/reg.h>
8
#endif
5
9
6
void sha512_init(hash_t *ctx);
10
void sha512_init(hash_t *ctx);
7
void sha384_init(hash_t *ctx);
11
void sha384_init(hash_t *ctx);
(-)a/fmt_no.h (+2 lines)
Lines 1-4 Link Here
1
/** Decl for int to str conversion with highlighting */
1
/** Decl for int to str conversion with highlighting */
2
#define _GNU_SOURCE
3
#include <fcntl.h>
2
4
3
#ifndef _FMT_NO_H
5
#ifndef _FMT_NO_H
4
#define _FMT_NO_H
6
#define _FMT_NO_H
(-)a/fstrim.h (+3 lines)
Lines 1-3 Link Here
1
#define _GNU_SOURCE
2
#include <fcntl.h>
3
1
#ifndef _FSTRIM_H
4
#ifndef _FSTRIM_H
2
#define _FSTRIM_H
5
#define _FSTRIM_H
3
6
(-)a/ddr_ctrl.h (+3 lines)
Lines 7-12 Link Here
7
 *  License: GNU GPLv2 or v3
7
 *  License: GNU GPLv2 or v3
8
 */
8
 */
9
9
10
#define _GNU_SOURCE
11
#include <fcntl.h>
12
10
#ifndef _DDR_CTRL_H
13
#ifndef _DDR_CTRL_H
11
#define _DDR_CTRL_H
14
#define _DDR_CTRL_H
12
15

Return to bug 616364