summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2012-09-28 15:54:10 +0200
committerAndreas Gruenbacher <agruen@linbit.com>2012-09-28 16:00:04 +0200
commitac59899327e6b9dca6e64a6b887322c15120fb48 (patch)
tree885b869c7227b1c01aa44e179db4f2e753e2dfce
parentc9de555284638a522d8035b8d845c35f213fc966 (diff)
downloadpatch-ac59899327e6b9dca6e64a6b887322c15120fb48.tar.gz
Use gnulib errno module instead of our own default ENOTSUP fallback
* bootstrap.conf (gnulib_modules): Add errno module. * src/common.h: Remove ENOTSUP fallback.
-rw-r--r--bootstrap.conf1
-rw-r--r--src/common.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index a549668..7649539 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -24,6 +24,7 @@ clock-time
diffseq
dirname
dup2
+errno
exitfail
extensions
fcntl-h
diff --git a/src/common.h b/src/common.h
index 41b719f..a66e55f 100644
--- a/src/common.h
+++ b/src/common.h
@@ -214,7 +214,3 @@ bool merge_hunk (int hunk, struct outstate *, lin where, bool *);
#else
# define merge_hunk(hunk, outstate, where, somefailed) false
#endif
-
-#ifndef ENOTSUP
-#define ENOTSUP (-1)
-#endif