aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/scoped_fd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/scoped_fd.h')
-rw-r--r--gdb/common/scoped_fd.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/common/scoped_fd.h b/gdb/common/scoped_fd.h
index a6a8ab9..c2125bd 100644
--- a/gdb/common/scoped_fd.h
+++ b/gdb/common/scoped_fd.h
@@ -20,10 +20,6 @@
#ifndef SCOPED_FD_H
#define SCOPED_FD_H
-#include "config.h"
-
-#ifdef HAVE_UNISTD_H
-
#include <unistd.h>
/* A smart-pointer-like class to automatically close a file descriptor. */
@@ -56,5 +52,4 @@ private:
int m_fd;
};
-#endif /* HAVE_UNISTD_H */
#endif /* SCOPED_FD_H */