]> git.armaanb.net Git - opendoas.git/commitdiff
libopenbsd/closefrom.c: remove config.h include
authorDuncan Overbruck <mail@duncano.de>
Fri, 26 Jul 2019 15:46:17 +0000 (17:46 +0200)
committerDuncan Overbruck <mail@duncano.de>
Fri, 26 Jul 2019 15:46:17 +0000 (17:46 +0200)
libopenbsd/closefrom.c

index 8f6608485ef6be1e4fecd5af2d4efa434d163855..0d393530b4a6a80c9e2ec787f66ade0be667ebf9 100644 (file)
  * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
  */
 
-#include <config.h>
-
-#ifndef HAVE_CLOSEFROM
-
 #include <sys/types.h>
 #include <unistd.h>
 #include <stdio.h>
@@ -133,5 +129,3 @@ closefrom(int lowfd)
     /* Do things the slow way. */
     closefrom_fallback(lowfd);
 }
-
-#endif /* HAVE_CLOSEFROM */