]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1452] use <errno.h> instead of sys/errno.h. the former seems to be more portable.
authorJINMEI Tatuya <jinmei@isc.org>
Sun, 11 Dec 2011 01:51:13 +0000 (17:51 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Sun, 11 Dec 2011 01:51:13 +0000 (17:51 -0800)
src/lib/util/io/socketsession.cc
src/lib/util/tests/socketsession_unittest.cc

index ab79fd064545f281bb73541b28ccf6c4a0720f2c..683733877f37bf30c6b80c48af5f87a35be16226 100644 (file)
 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 // PERFORMANCE OF THIS SOFTWARE.
 
-#include <sys/errno.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/un.h>
 
 #include <netinet/in.h>
 
+#include <errno.h>
 #include <stdint.h>
 #include <string.h>
 
index 851e2746962c9651e08c8358f64822487b7bbfab..881151a7cd4ef5dc91b6e2c8252d09d12b970c7a 100644 (file)
@@ -14,9 +14,9 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <sys/errno.h>
 #include <sys/un.h>
 
+#include <errno.h>
 #include <fcntl.h>
 #include <string.h>
 #include <netdb.h>