summaryrefslogtreecommitdiff
path: root/camlibs/digita
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2010-09-15 03:51:50 +0000
committerDan Fandrich <dan@coneharvesters.com>2010-09-15 03:51:50 +0000
commitee2448dc2ff1a920a78d95175569171b98058eaa (patch)
tree3abfc33e4aca305ca02b979f91c8a67dc5abfb74 /camlibs/digita
parent5da0f01441082d9c3a268f388f7d917c5127c999 (diff)
downloadlibgphoto2-ee2448dc2ff1a920a78d95175569171b98058eaa.tar.gz
Tweaked header file includes for improved portability
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13309 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/digita')
-rw-r--r--camlibs/digita/commands.c2
-rw-r--r--camlibs/digita/digita.c2
-rw-r--r--camlibs/digita/serial.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/camlibs/digita/commands.c b/camlibs/digita/commands.c
index 6cc20c0fb..3734d1b1b 100644
--- a/camlibs/digita/commands.c
+++ b/camlibs/digita/commands.c
@@ -31,9 +31,9 @@
#ifdef OS2
#include <db.h>
#endif
-#include <netinet/in.h>
#include "digita.h"
+#include "gphoto2-endian.h"
#define GP_MODULE "digita"
diff --git a/camlibs/digita/digita.c b/camlibs/digita/digita.c
index e788b5f3f..61dd06e52 100644
--- a/camlibs/digita/digita.c
+++ b/camlibs/digita/digita.c
@@ -32,7 +32,6 @@
#ifdef OS2
#include <db.h>
#endif
-#include <netinet/in.h>
#define GP_MODULE "digita"
@@ -53,6 +52,7 @@
# define N_(String) (String)
#endif
+#include "gphoto2-endian.h"
#include "digita.h"
#ifndef MAX
diff --git a/camlibs/digita/serial.c b/camlibs/digita/serial.c
index abd96721a..fef845e46 100644
--- a/camlibs/digita/serial.c
+++ b/camlibs/digita/serial.c
@@ -32,8 +32,8 @@
#ifdef OS2
#include <db.h>
#endif
-#include <netinet/in.h>
+#include "gphoto2-endian.h"
#include "digita.h"
#define GP_MODULE "digita"