aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xlogmaster/files/patch-src::xlogmaster.cc
blob: 0bb3bcba54c2be8d6f9f872820c125711cceb508 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- src/xlogmaster.cc.orig	Thu Apr  1 01:00:29 1999
+++ src/xlogmaster.cc	Thu Feb  5 22:09:28 2004
@@ -41,6 +41,8 @@
 
 #include "../graphics/logo.xpm"
 #include "../graphics/logo_small.xpm"
+#include <iostream>
+using namespace std;
 
 /*}}}*/
 
@@ -996,7 +998,7 @@
  int gtkrc = FALSE;
  terse = FALSE;
  
- x = getopt_long_only(argc, argv, "", options, &opt_index);
+ x = getopt_long(argc, argv, "", options, &opt_index);
  while ( x != -1 && x != '?' ){
    const gchar* opt = options[opt_index].name;
    
@@ -1183,7 +1185,7 @@
 	 }
      }
    
-   x = getopt_long_only(argc, argv, "", options, &opt_index);
+   x = getopt_long(argc, argv, "", options, &opt_index);
  };
  
  if ( optind < argc || x == '?' )