Преглед на файлове

staging: usbip: userspace: usbipd.c: add header into source file

The old usbip.h header that was only used to masked what each source
file needed has been changed. So some headers this file needed had to
be added.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
matt mooney преди 14 години
родител
ревизия
d2c15e2580
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      drivers/staging/usbip/userspace/src/usbipd.c

+ 4 - 4
drivers/staging/usbip/userspace/src/usbipd.c

@@ -7,6 +7,7 @@
 #include "../config.h"
 #include "../config.h"
 #endif
 #endif
 
 
+#include <errno.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <netdb.h>
 #include <netdb.h>
 #include <strings.h>
 #include <strings.h>
@@ -23,16 +24,15 @@
 
 
 #define _GNU_SOURCE
 #define _GNU_SOURCE
 #include <getopt.h>
 #include <getopt.h>
+#include <glib.h>
 #include <signal.h>
 #include <signal.h>
 
 
-#include "usbip.h"
+#include "stub_driver.h"
+#include "usbip_common.h"
 #include "usbip_network.h"
 #include "usbip_network.h"
 
 
-#include <glib.h>
-
 static const char version[] = PACKAGE_STRING;
 static const char version[] = PACKAGE_STRING;
 
 
-
 static int send_reply_devlist(int sockfd)
 static int send_reply_devlist(int sockfd)
 {
 {
 	int ret;
 	int ret;