Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
612221ab
Commit
612221ab
authored
Dec 04, 2002
by
Richard M. Stallman
Browse files
(fcntl.h): Test only HAVE_FCNTL_H.
parent
321ce330
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
src/fileio.c
src/fileio.c
+1
-1
src/sysdep.c
src/sysdep.c
+1
-9
No files found.
src/fileio.c
View file @
612221ab
...
...
@@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA. */
#include <config.h>
#if
def
ined (USG5) || defined (BSD_SYSTEM) || defined (GNU_LINUX)
#ifdef
HAVE_FCNTL_H
#include <fcntl.h>
#endif
...
...
src/sysdep.c
View file @
612221ab
...
...
@@ -147,17 +147,9 @@ extern int errno;
#include <sys/file.h>
#endif
/* not VMS */
#ifndef BSD4_1
#ifdef BSD_SYSTEM
/* avoid writing defined (BSD_SYSTEM) || defined (USG)
because the vms compiler doesn't grok `defined' */
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef USG
#ifndef USG5
#include <fcntl.h>
#endif
#endif
#endif
/* not 4.1 bsd */
#ifndef MSDOS
#include <sys/ioctl.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment