aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2013-06-18 22:13:40 -0500
committerDavid Barksdale <amatus.amongus@gmail.com>2013-06-24 22:09:54 -0500
commit8025e367a87d7273abdfb77892f8e00db0fbc66f (patch)
treed5c8cbd980141c4c5162db0b738fa36c775170cf
parent90202efebcc3cdc713bc3d1419e41c3dc9eba4fd (diff)
Make AF_UNIX and AF_INET different.
GNUnet contains a switch with cases for AF_UNIX and AF_INET.
-rw-r--r--system/include/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/sys/socket.h b/system/include/sys/socket.h
index b83ce89a..3168f85b 100644
--- a/system/include/sys/socket.h
+++ b/system/include/sys/socket.h
@@ -38,7 +38,7 @@ extern "C" {
#define SHUT_RDWR 2
typedef unsigned int sa_family_t;
-#define AF_INET 1
+#define AF_INET PF_INET
#define AF_INET6 6
#define PF_INET6 AF_INET6