mirror of git://sourceware.org/git/glibc.git
Include bits/types.h instead of sys/types.h.
This commit is contained in:
parent
0dd0e77c4c
commit
77c5dc9ed7
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
# error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead."
|
# error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <bits/types.h>
|
||||||
|
|
||||||
/* Mode bits for `msgget', `semget', and `shmget'. */
|
/* Mode bits for `msgget', `semget', and `shmget'. */
|
||||||
#define IPC_CREAT 01000 /* Create key if key does not exist. */
|
#define IPC_CREAT 01000 /* Create key if key does not exist. */
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
# error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead."
|
# error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <bits/types.h>
|
||||||
|
|
||||||
/* Mode bits for `msgget', `semget', and `shmget'. */
|
/* Mode bits for `msgget', `semget', and `shmget'. */
|
||||||
#define IPC_CREAT 01000 /* Create key if key does not exist. */
|
#define IPC_CREAT 01000 /* Create key if key does not exist. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue