summaryrefslogtreecommitdiff
path: root/lib/mkstemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mkstemp.c')
-rw-r--r--lib/mkstemp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mkstemp.c b/lib/mkstemp.c
index 2683e4b8f..cec5ba8ba 100644
--- a/lib/mkstemp.c
+++ b/lib/mkstemp.c
@@ -15,7 +15,9 @@
with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
/* Disable the definition of mkstemp to rpl_mkstemp (from config.h) in this
file. Otherwise, we'd get conflicting prototypes for rpl_mkstemp on